def has_studio_read_access(user, course_key):
 return bool((STUDIO_VIEW_CONTENT & get_user_permissions(user, course_key)))

def has_studio_read_access ( user , course_key ) : return bool ( ( STUDIO_VIEW_CONTENT & get_user_permissions ( user , course_key ) ) )
return true iff user is allowed to view this course/library in studio .