code: def is_atomic(elem):
      """
      True if an element is a single atom and false if it's a collection
      """
      return isinstance(elem, string_types) or not isinstance(
          elem, collections.Iterable
      )
  
imports: import collections
  from six import string_types
label_desc: Use image node_id 2 for calling a global function with example usage: is_atomic(elem) and returns: unknown