code: def is_torch_object(data_object) -> bool:
      """Check if data_object is a torch object without failing if torch isn't installed."""
      return "torch" in str(type(data_object))
  
imports: import random
  import sys
  import typing
  from collections import Counter
  from enum import Enum
  from numbers import Number
  import numpy
  from typing_extensions import NotRequired, TypedDict
  from deepchecks.core.errors import DatasetValidationError
  from deepchecks.utils.logger import get_logger
label_desc: Use image node_id 6 for calling a global function with example usage: is_torch_object(data_object) and returns: unknown