def _get_staff_lock_from(xblock):
 source = find_staff_lock_source(xblock)
 return (_xblock_type_and_display_name(source) if source else None)

def _get_staff_lock_from ( xblock ) : source = find_staff_lock_source ( xblock ) return ( _xblock_type_and_display_name ( source ) if source else None )
returns a string representation of the section or subsection that sets the xblocks release date .