@ Override public boolean providesResource ( List < String > resourcesIDs ) { return resources . stream ( ) . map ( ResourceModel :: getResourceID ) . anyMatch ( resourcesIDs :: contains ) ; }
checks whether the ResourceContainer can provide at least ONE resource