boolean (@NotNull AnActionEvent e) { ImageComponentDecorator decorator = e.getData(ImageComponentDecorator.DATA_KEY); return decorator != null && decorator.isEnabledForActionPlace(e.getPlace()) && decorator.isFileSizeVisible(); }