def has_studio_write_access(user, course_key):
 return bool((STUDIO_EDIT_CONTENT & get_user_permissions(user, course_key)))

def has_studio_write_access ( user , course_key ) : return bool ( ( STUDIO_EDIT_CONTENT & get_user_permissions ( user , course_key ) ) )
return true if user has studio write access to the given course .