@property<EOL><INDENT>def availableRoles(self):<DEDENT>
if not hasattr(self.instructor,'<STR_LIT>'):<EOL><INDENT>return []<EOL><DEDENT>return [<EOL>[x.id,x.name] for x in<EOL>self.instructor.instructorprivatelessondetails.roles.all()<EOL>]<EOL>
Some instructors only offer private lessons for certain roles, so we should only allow booking
for the roles that have been selected for the instructor.