public boolean isEnabled(TimedLocalSearchResult element) {
if (_activeCategories.isEmpty())
return true;
LocalSearchResult result = element.getLocalSearchResult();
for (String category : _activeCategories) {
if (result.getCategories().contains(category))
return true;
}
return false;
}