steambird/models/coursetree.py
def teacher_can_edit(self, teacher: Teacher) -> bool:
        """
        Can a teacher suggest changes to a course, e.g. on MSP's? Returns true if teacher is either
        coordinator of course or study directors

        :param teacher: Teacher object of which we want to know if they can make suggestions
        :return: Boolean
        """
        return teacher in (self.coordinators + self.directors)

        Can a teacher suggest changes to a course, e.g. on MSP's? Returns true if teacher is either
        coordinator of course or study directors

        :param teacher: Teacher object of which we want to know if they can make suggestions
        :return: Boolean
        
Can a teacher suggest changes to a course, e.g. on MSP's. Returns true if teacher is either
coordinator of course or study directors
Can a teacher suggest changes to a course e . g . on MSP ' s . Returns true if teacher is either coordinator of course or study directors
def teacher_can_edit(self, teacher: Teacher) -> bool:
        return teacher in (self.coordinators + self.directors)
def teacher_can_edit ( self , teacher : Teacher ) -> bool : return teacher in ( self . coordinators + self . directors )
Can a teacher suggest changes to a course, e.g.
Can a teacher suggest changes to a course e . g .
"""
        Can a teacher suggest changes to a course, e.g. on MSP's? Returns true if teacher is either
        coordinator of course or study directors

        :param teacher: Teacher object of which we want to know if they can make suggestions
        :return: Boolean
        """
None
self
teacher
Teacher
Teacher object of which we want to know if they can make suggestions
Teacher object of which we want to know if they can make suggestions