code: def _is_scalar_shape(shape):
      return (
          shape is None
          or shape == ()
          or shape == []
          or shape == 1
          or shape == [1]
          or shape == (1,)
      )
  
imports: from enum import Enum, unique
  import re
  from nvidia.dali._backend_enums import DALIDataType, DALIImageType, DALIInterpType
  from nvidia.dali.backend_impl.types import *
label_desc: Use image node_id 8 for calling a global function with example usage: _is_scalar_shape(shape) and returns: unknown