code: def hash_nested_tuple(tup):
      """Hash a nested tuple to hexadecimal"""
      return hashlib.md5(repr(sorted(tup)).encode("utf8")).hexdigest()
  
imports: from __future__ import absolute_import, unicode_literals
  import base64
  import hashlib
  import json
  import logging
  import os
  import pickle
  from builtins import str
  import numpy
  from atm.compat import getargs
label_desc: Use image node_id 2 for calling a global function with example usage: hash_nested_tuple(tup) and returns: hashlib