code: def is_relative_to(path: Path, *other):
      """Return True if the path is relative to another path or False.
  
      This function is backported from Python 3.9 - Path.is_relative_to.
      """
      try:
          path.relative_to(*other)
          return True
      except ValueError:
          return False
  
file_path: streamlit/e2e/run_compose.py
imports: import os
  import subprocess
  import sys
  import textwrap
  from pathlib import Path
  from typing import List
label_desc: Use image node_id 1 for calling a global function with example usage: is_relative_to(path) and returns: True, False