def _has_instructor_access_to_descriptor(user, descriptor, course_key):
 return _has_instructor_access_to_location(user, descriptor.location, course_key)

def _has_instructor_access_to_descriptor ( user , descriptor , course_key ) : return _has_instructor_access_to_location ( user , descriptor . location , course_key )
helper method that checks whether the user has staff access to the course of the location .