{
boolean satisfies = false;
if ( object instanceof DatabaseCleanupConsumer )
{
DatabaseCleanupConsumer consumer = (DatabaseCleanupConsumer) object;
DatabaseScanningConfiguration config = archivaConfiguration.getConfiguration().getDatabaseScanning();
return config.getUnprocessedConsumers().contains( consumer.getId() );
}
return satisfies;
}