code: def aliased(aliased_class):
      """
      Decorator function that *must* be used in combination with @alias
      decorator. This class will make the magic happen!
      @aliased classes will have their aliased method (via @alias) actually
      aliased.
      This method simply iterates over the member attributes of 'aliased_class'
      seeking for those which have an '_aliases' attribute and then defines new
      members in the class using those aliases as mere pointer functions to the
      original ones.
  
      Usage:
          @aliased
          class MyClass(object):
              @alias('coolMethod', 'myKinkyMethod')
              def boring_method():
                  # ...
  
          i = MyClass()
          i.coolMethod() # equivalent to i.myKinkyMethod() and i.boring_method()
  
      Source: http://code.activestate.com/recipes/577659-decorators-for-adding-aliases-to-methods-in-a-clas/
      """
      original_methods = aliased_class.__dict__.copy()
      for name, method in original_methods.items():
          if hasattr(method, "_aliases"):
              # Add the aliases for 'method', but don't override any
              # previously-defined attribute of 'aliased_class'
              for alias in method._aliases - set(original_methods):
                  setattr(aliased_class, alias, method)
      return aliased_class
  
label_desc: Use image node_id 1 for calling a global function with example usage: aliased(aliased_class) and returns: aliased_class