boolean (Configurable configurable, Project project, boolean checkNonDefault) { if (configurable == null) { return false; } return project == null || !checkNonDefault || !project.isDefault() || !ConfigurableWrapper.isNonDefaultProject(configurable); }