code: def _getitem(a, item):
      if isinstance(item, (list, tuple)) and all(
          isinstance(it, slice) and it == slice(None) for it in item
      ):
          # nothing to do
          return a
  
      # TODO(jisheng): field access, e.g. t['a'], t[['a', 'b']]
      return _getitem_nocheck(a, item)
  
imports: from numbers import Integral
  import numpy
  from ...None import opcodes
  from ...core import ENTITY_TYPE
  from ...core.operand import OperandStage
  from ...serialization.serializables import FieldTypes, KeyField, ListField, TupleField, Int32Field
  from ..core import TENSOR_TYPE, TensorOrder
  from ..utils import split_indexes_into_chunks, calc_pos, filter_inputs
  from ..operands import TensorHasInput, TensorOperandMixin, TensorMapReduceOperand
  from ..array_utils import get_array_module
  from .core import process_index, calc_shape
  from .index_lib import TensorIndexesHandler
label_desc: Use image node_id 6 for calling a global function with example usage: _getitem(a, item) and returns: _getitem_nocheck, a