private boolean validParameters(List<String> parameters) {
        // TODO: throw a parsing error exception on the YAML parser when params size is less than 2.
        return CollectionUtils.isNotEmpty(parameters) && parameters.size() >= 2;
    }
private boolean validParameters(List<String> parameters) {
       
        return CollectionUtils.isNotEmpty(parameters) && parameters.size() >= 2;
    }
private boolean validparameters(list<string> parameters) { return collectionutils.isnotempty(parameters) && parameters.size() >= 2; }