def is_instructor(self):
        return any((self.has_role('instructor'),
                    self.has_role('faculty'),
                    self.has_role('staff')))
Convenience method for checking if user has 'instructor', 'faculty'
dataset/ETHPy150Open tophatmonocle/ims_lti_py/ims_lti_py/tool_provider.py/ToolProvider.is_instructor