boolean (@NotNull RangeHighlighterEx highlighter, boolean documentMarkupModel) { if (documentMarkupModel) { if (!highlighter.getEditorFilter().avaliableIn(myEditor) || !myEditor.isHighlighterAvailable(highlighter)) return false; } return highlighter.getErrorStripeMarkColor(myEditor.getColorsScheme()) != null; }