code: def _with_suffix(path):
      path = pathlib.Path(path)
      if path.suffix == "":
          return path.with_suffix(".eqx")
      else:
          return path
  
imports: import functools
  import pathlib
  from collections.abc import Callable
  from contextlib import contextmanager
  from typing import Any, BinaryIO, Optional, Union
  import jax
  import jax.numpy
  import jax.tree_util
  import numpy
  from jaxtyping import PyTree
  from ._filters import is_array_like
label_desc: Use image node_id 4 for calling a global function with example usage: _with_suffix(path) and returns: path, path