boolean (@NonNls String featureId, Project project) { ProductivityFeaturesRegistry registry = ProductivityFeaturesRegistry.getInstance(); if (registry != null) { FeatureDescriptor descriptor = registry.getFeatureDescriptor(featureId); if (descriptor != null && System.currentTimeMillis() - descriptor.getLastTimeUsed() > 10 * DAY) { return true; } } return isToBeShown(featureId, project, HOUR); }