def ishidden(self):
f = self.frame<EOL>tbh = f.f_locals.get(<EOL>"<STR_LIT>", f.f_globals.get("<STR_LIT>", False)<EOL>)<EOL>if tbh and callable(tbh):<EOL><INDENT>return tbh(None if self._excinfo is None else self._excinfo())<EOL><DEDENT>return tbh<EOL>
return True if the current frame has a var __tracebackhide__
            resolving to True.

            If __tracebackhide__ is a callable, it gets called with the
            ExceptionInfo instance and can decide whether to hide the traceback.

            mostly for internal use