code: def reverse_dictionary(dictionary):
      """
      http://stackoverflow.com/questions/483666/python-reverse-inverse-a-mapping
      http://stackoverflow.com/questions/25480089/right-way-to-initialize-an-ordereddict-using-its-constructor-such-that-it-retain
      """
      # print('type(dictionary): {0}'.format(type(dictionary)))
      if type(dictionary) is collections.OrderedDict:
          # print(type(dictionary))
          return collections.OrderedDict(
              [(v, k) for k, v in dictionary.items()]
          )
      else:
          return {v: k for k, v in dictionary.items()}
  
imports: import collections
  import datetime
  import os
  import operator
  import shutil
  import time
  import pickle
label_desc: Use image node_id 3 for calling a global function with example usage: reverse_dictionary(dictionary) and returns: collections, unknown