def can_access_all_blocks(requesting_user, course_key):
 return has_access(requesting_user, CourseStaffRole.ROLE, course_key)

def can_access_all_blocks ( requesting_user , course_key ) : return has_access ( requesting_user , CourseStaffRole . ROLE , course_key )
returns whether the requesting_user can access all the blocks in the course .