code: def test_safe_scalar_isnan():
      assert not safe_scalar_isnan(True)
      assert not safe_scalar_isnan(None)
      assert not safe_scalar_isnan("sadf")
      assert not safe_scalar_isnan((1, 2, 3))
      assert not safe_scalar_isnan(np.asarray([1, 2, 3]))
      assert not safe_scalar_isnan([np.nan])
      assert safe_scalar_isnan(np.nan)
      assert safe_scalar_isnan(np.float32(np.nan))
      assert safe_scalar_isnan(float(np.nan))
  
imports: import sys
  import numpy
  import six
  from six.moves import cStringIO
  from .compat import optional_dep_ok
label_desc: Use image node_id 19 for calling a global function with example usage: test_safe_scalar_isnan() without return types