code: def check_xfail_no_run(item):
      """check xfail(run=False)"""
      if not item.config.option.runxfail:
          evalxfail = item._evalxfail
          if evalxfail.istrue():
              if not evalxfail.get("run", True):
                  xfail("[NOTRUN] " + evalxfail.getexplanation())
  
file_path: catboost/contrib/python/pytest/py2/_pytest/skipping.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from _pytest.config import hookimpl
  from _pytest.mark.evaluate import MarkEvaluator
  from _pytest.outcomes import fail
  from _pytest.outcomes import skip
  from _pytest.outcomes import xfail
label_desc: Use image node_id 5 for calling a global function with example usage: check_xfail_no_run(item) without return types