code: def _handle_skip(self):
      # implements the skipping machinery (see #2137)
      # analog to pythons Lib/unittest/case.py:run
      testMethod = getattr(
          self._testcase, self._testcase._testMethodName
      )
      if getattr(
          self._testcase.__class__, "__unittest_skip__", False
      ) or getattr(testMethod, "__unittest_skip__", False):
          # If the class or method was skipped.
          skip_why = getattr(
              self._testcase.__class__, "__unittest_skip_why__", ""
          ) or getattr(testMethod, "__unittest_skip_why__", "")
          try:  # PY3, unittest2 on PY2
              self._testcase._addSkip(self, self._testcase, skip_why)
          except TypeError:  # PY2
              if sys.version_info[0] != 2:
                  raise
              self._testcase._addSkip(self, skip_why)
          return True
      return False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import traceback
  import _pytest._code
  import pytest
  from _pytest.compat import getimfunc
  from _pytest.config import hookimpl
  from _pytest.outcomes import fail
  from _pytest.outcomes import skip
  from _pytest.outcomes import xfail
  from _pytest.python import Class
  from _pytest.python import Function
label_desc: Use image node_id 13 for calling the TestCaseFunction obj's underlying member method code with example usage: obj._handle_skip() and returns: False, True