code: def _is_valid_path(path: Path):
      if path.name.startswith("_") or path.name.startswith("."):
          return False
      else:
          return True
  
file_path: labml/client/labml/internal/manage/runs.py
imports: from pathlib import Path
  from typing import Optional, Generator
  from labml.logger import inspect
label_desc: Use image node_id 1 for calling a global function with example usage: _is_valid_path(path) and returns: False, True