code: def dec_all_methods(decorator, prefix="test_"):
      def dec_class(cls):
          for name, m in inspect.getmembers(cls, inspect.isfunction):
              if prefix == None or name.startswith(prefix):
                  setattr(cls, name, decorator(m))
          return cls
  
      return dec_class
  
label_desc: Use image node_id 1 for calling a global function with example usage: dec_all_methods(decorator, prefix) and returns: dec_class, cls