code: def _retry_if_error(exception):
      return isinstance(exception, CalledProcessError or OSError)
  
file_path: sagemaker-python-sdk/tests/data/multimodel/container/dockerd-entrypoint.py
imports: from __future__ import absolute_import
  import sys
  import shlex
  import subprocess
  from retrying import retry
  from sagemaker_inference import model_server
  from subprocess import CalledProcessError
label_desc: Use image node_id 1 for calling a global function with example usage: _retry_if_error(exception) and returns: isinstance