code: def is_scalar(var):
      return False if hasattr(var, "__len__") else True
  
imports: from mxnet.test_utils import *
  from mxnet.base import MXNetError
  import pytest
  from common import assertRaises
  import random
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: is_scalar(var) and returns: unknown