@Override
    public boolean providesResource(List<String> resourcesIDs) {
        return resources.stream()
                .map(ResourceModel::getResourceID)
                .anyMatch(resourcesIDs::contains);
    }
@ 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

@param resourcesIDs a list containing sources
@return true if the ResourceContainer can provide at least one resource