code: def is_scalar(btype):
      """
      Is the given builtin type a scalar integer, float, or boolean?
      """
      return btype is types_bool or is_int(btype) or is_float(btype)
  
imports: from .type_bool import bool
  from .type_double import is_float, fp16, fp32, fp64
  from .type_list import is_list
  from .type_int import is_int, int8, int16, int32, int64, uint8, uint16, uint32, uint64
  from .type_str import str
  from .type_unknown import unknown
  import numpy
  import sympy
  import six
  from .get_type_info import get_type_info
label_desc: Use image node_id 7 for calling a global function with example usage: is_scalar(btype) and returns: unknown