code: def check_for_none(func):
      @functools.wraps(func)
      def decorator(*args, **kwargs):
          if args[0] is None or args[1] is None:
              return 0
          return func(*args, **kwargs)
  
      return decorator
  
file_path: fuzzywuzzy/fuzzywuzzy/utils.py
imports: from __future__ import unicode_literals
  import sys
  import functools
  from fuzzywuzzy.string_processing import StringProcessor
label_desc: Use image node_id 3 for calling a global function with example usage: check_for_none(func) and returns: decorator, func, int