code: def override(interface_class):
      def overrider(method):
          assert method.__name__ in dir(interface_class)
          return method
  
      return overrider
  
imports: import collections
  from contextlib import closing, contextmanager
  import logging
  import numpy
  import socket
  import time
label_desc: Use image node_id 4 for calling a global function with example usage: override(interface_class) and returns: overrider, method