'Scope `course_staff` valid only if the user is an instructor of at
least one course.'

def scope_course_staff(self, data):

    course_ids = self.find_courses(data['user'], CourseStaffRole.ROLE)
    return (['staff_courses'] if course_ids else None)
