Adding studentview validation in api_is_coach see BT#6619