def ensure_sequence_filter(data):
 if (not isinstance(data, (list, tuple, set, dict))):
  return [data]
 return data

def ensure_sequence_filter ( data ) : if ( not isinstance ( data , ( list , tuple , set , dict ) ) ) : return [ data ] return data
ensure sequenced data .