code: def has_subdirectories(path, include, exclude, show_all):
      
      try:
          # > 1 because of '..'
          return len( listdir(path, include, exclude,
                              show_all, folders_only=True) ) > 1
      except (IOError, OSError):
          return False
docs: Return True if path has subdirectories