docs: def validate_path_exists(s):
      """If s is a path, return s, else False"""
      if s is None:
          return None
      if os.path.exists(s):
          return s
      else:
          raise ValueError('"%s" should be a path but it does not exist' % s)