code: def _is_subdirectory(maybe_parent: str, maybe_child: str) -> bool:
      paren = os.path.realpath(maybe_parent).split(os.path.sep)
      child = os.path.realpath(maybe_child).split(os.path.sep)
      return len(paren) <= len(child) and all(
          a == b for a, b in zip(paren, child)
      )
  
imports: import datetime
  import os
  import time
  from typing import Optional
  from absl import logging
  from apache_beam.utils import retry
  from kubernetes import client
  from kubernetes.client import rest
  from tfx.components.infra_validator import error_types
  from tfx.components.infra_validator import serving_bins
  from tfx.components.infra_validator.model_server_runners import base_runner
  from tfx.proto import infra_validator_pb2
  from tfx.utils import kube_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _is_subdirectory(maybe_parent, maybe_child) and returns: unknown