code: def is_pure_name(path):
      
      return (
          not os.path.isabs(path)
          and len(os.path.dirname(path)) == 0
          and not os.path.splitext(path)[1]
          and path != '.'
          and path != ''
      )
docs: Return True if path is a name and not a file path.
  
      Parameters
      ----------
      path : str
          Path (can be absolute, relative, etc.)
  
      Returns
      -------
      bool
          True if path is a name of config in config dir, not file path.