class_docstr: Modified Pdb class, does not load readline.
  
  for a standalone version that uses prompt_toolkit, see
  `IPython.terminal.debugger.TerminalPdb` and
  `IPython.terminal.debugger.set_trace()`
  
  
  This debugger can hide and skip frames that are tagged according to some predicates.
  See the `skip_predicates` commands.
class_docstr_tok: ["Modified","Pdb","class",",","does","not","load","readline",".","for","a","standalone","version","that","uses","prompt_toolkit",",","see","`","IPython.terminal.debugger.TerminalPdb","`","and","`","IPython.terminal.debugger.set_trace","(",")","`","This","debugger","can","hide","and","skip","frames","that","are","tagged","according","to","some","predicates",".","See","the","`","skip_predicates","`","commands","."]
docstr: Utility to tell us whether we are in a decorator internal and should stop.
docstr_tok: ["Utility","to","tell","us","whether","we","are","in","a","decorator","internal","and","should","stop","."]
code: def _is_in_decorator_internal_and_should_skip(self, frame):
      """
      Utility to tell us whether we are in a decorator internal and should stop.
  
      """
  
      # if we are disabled don't skip
      if not self._predicates["debuggerskip"]:
          return False
  
      # if frame is tagged, skip by default.
      if DEBUGGERSKIP in frame.f_code.co_varnames:
          return True
  
      # if one of the parent frame value set to True skip as well.
  
      cframe = frame
      while getattr(cframe, "f_back", None):
          cframe = cframe.f_back
          if self._get_frame_locals(cframe).get(DEBUGGERSKIP):
              return True
  
      return False
  
imports: import inspect
  import linecache
  import sys
  import re
  import os
  from IPython import get_ipython
  from contextlib import contextmanager
  from IPython.utils import PyColorize
  from IPython.utils import coloransi, py3compat
  from IPython.core.excolors import exception_colors
  from pdb import Pdb
label_desc: Use image node_id 31 for calling the Pdb obj's underlying member method code with example usage: obj._is_in_decorator_internal_and_should_skip(frame) and returns: False, False, True, True