boolean (@Nullable final XDebugSession session, final AnActionEvent event) { if (session != null) { return session.areBreakpointsMuted(); } else { XDebugSessionData data = event.getData(XDebugSessionData.DATA_KEY); if (data != null) { return data.isBreakpointsMuted(); } } return false; }