code: def isdir(path: str) -> bool:
      r"""
          Checks if a given filepath is that of a directory
  
      Args:
          path (str): Filepath to check
  
      Returns:
          True; if `path` is a valid directory
          False; otherwise
  
      """
      return os.path.isdir(path)
  
file_path: caer/caer/path/paths.py
imports: import os
  from time import time
  from ..annotations import List, Union, Optional, Tuple
label_desc: Use image node_id 10 for calling a global function with example usage: isdir(path) and returns: os