code: def _check_if_gpu(cls, inputs: List[TileableType]):
      if not inputs:
          return None
      true_num = 0
      for inp in inputs:
          op = getattr(inp, "op", None)
          if op is None or op.gpu is None:
              return None
          true_num += int(op.gpu)
      if true_num == len(inputs):
          return True
      elif true_num == 0:
          return False
      return None
  
imports: import sys
  from typing import Any, Callable, Dict, List, Tuple, Type, Union
  import numpy
  from ...metrics import Metrics
  from ...typing import TileableType, ChunkType, OperandType
  from ...utils import calc_data_size
  from ..context import Context
  from ..mode import is_eager_mode
  from ..entity import OutputType, ExecutableTuple, get_chunk_types, get_tileable_types, get_output_types, get_fetch_class
label_desc: Use image node_id 2 for calling the TileableOperandMixin obj's underlying member method code with example usage: obj._check_if_gpu(cls, inputs) and returns: None, None, True, None, False