boolean (@NotNull Object element) { if (element instanceof ConfigurationFactory) { return ((ConfigurationFactory)element).isEditableInDumbMode(); } if (element instanceof ConfigurationType) { return ConfigurationTypeUtil.isEditableInDumbMode((ConfigurationType)element); } return false; }