boolean (@NotNull Point point) { Inlay<?> inlay = myInlayModel.getElementAt(point); return inlay != null && (inlay.getPlacement() == Inlay.Placement.ABOVE_LINE || inlay.getPlacement() == Inlay.Placement.BELOW_LINE); }