steambird/models/coursetree.py
def teacher_can_manage_msp(self, teacher: Teacher) -> bool:
        """
        Can a teacher in some way or form manage a course? Returns true for coordinators, directors
        and teachers.

        :param teacher: Teachers object for which you want to check if they can manage
        :return: boolean
        """
        return teacher in (self.coordinators + self.directors + self.teachers)

        Can a teacher in some way or form manage a course? Returns true for coordinators, directors
        and teachers.

        :param teacher: Teachers object for which you want to check if they can manage
        :return: boolean
        
Can a teacher in some way or form manage a course. Returns true for coordinators, directors
and teachers.
Can a teacher in some way or form manage a course . Returns true for coordinators directors and teachers .
def teacher_can_manage_msp(self, teacher: Teacher) -> bool:
        return teacher in (self.coordinators + self.directors + self.teachers)
def teacher_can_manage_msp ( self , teacher : Teacher ) -> bool : return teacher in ( self . coordinators + self . directors + self . teachers )
Can a teacher in some way or form manage a course?
Can a teacher in some way or form manage a course?
"""
        Can a teacher in some way or form manage a course? Returns true for coordinators, directors
        and teachers.

        :param teacher: Teachers object for which you want to check if they can manage
        :return: boolean
        """
None
self
teacher
Teacher
Teachers object for which you want to check if they can manage
Teachers object for which you want to check if they can manage