def _contains_bad_names(file_names):
 return any([xml_unsafe.search(f) for f in file_names])

def _contains_bad_names ( file_names ) : return any ( [ xml_unsafe . search ( f ) for f in file_names ] )
return true if the list of names contains a bad one .