code: def path_is_empty(p: tcod.path.AStar) -> bool:
      
      return bool(lib.TCOD_path_is_empty(p._path_c))
docs: Return True if a path is empty.
  
      Args:
          p (AStar): An AStar instance.
      Returns:
          bool: True if a path is empty.  Otherwise False.