code: def is_unicode(obj):
      if sys.version_info[0] < 3:
          return isinstance(obj, unicode)
      else:
          return isinstance(obj, str)
  
imports: from __future__ import absolute_import, division, print_function
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: is_unicode(obj) and returns: isinstance, isinstance