def substr_in_list(string_to_search_for, list_to_search):
 return any(((string_to_search_for in s) for s in list_to_search))

def substr_in_list ( string_to_search_for , list_to_search ) : return any ( ( ( string_to_search_for in s ) for s in list_to_search ) )
return a boolean value that indicates whether or not a given string is present in any of the strings which comprise a list .