boolean (@NotNull XStackFrame contextFrame) { synchronized (myFrameCacheObject) { final PyStackFrame frame = (PyStackFrame)contextFrame; return myStackFrameCache.containsKey(frame.getThreadFrameId()); } }