code: def filter_op(op, **kwargs):
      """Returns true if passed all checks"""
      return OpFilter(**kwargs).check(op)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from functools import wraps
  import copy
  import numpy
  from caffe2.python import core, workspace
  from caffe2.proto import caffe2_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: filter_op(op) and returns: OpFilter