def _contains_hidden_files(n):
 for sub in n:
  name = sub.name
  if ((len(name) > 1) and name.startswith('.')):
   return True
 return False

def _contains_hidden_files ( n ) : for sub in n : name = sub . name if ( ( len ( name ) > 1 ) and name . startswith ( '.' ) ) : return True return False
return true if n contains files starting with a .