def find_sliced_simpler(track_or_chain):
 requirement = (lambda i: (getattr(i, 'playback_mode', None) == Live.SimplerDevice.PlaybackMode.slicing))
 return find_instrument_meeting_requirement(requirement, track_or_chain)

def find_sliced_simpler ( track_or_chain ) : requirement = ( lambda i : ( getattr ( i , 'playback_mode' , None ) == Live . SimplerDevice . PlaybackMode . slicing ) ) return find_instrument_meeting_requirement ( requirement , track_or_chain )
looks up recursively for a sliced simpler device in the track .