def is_instructor(self):
        return any((self.has_role('instructor'),
                    self.has_role('faculty'),
                    self.has_role('staff')))
Test ufunc attributes
dataset/ETHPy150Open tophatmonocle/ims_lti_py/ims_lti_py/tool_provider.py/ToolProvider.is_instructor--crossover with--dataset/ETHPy150Open numba/numba/numba/tests/npyufunc/test_ufunc.py/TestUFuncs._test_ufunc_attributes