@Override
  public boolean evaluate(Resource resource) {
    Object propertyValue = resource.getPropertyValue(getPropertyId());
    return propertyValue != null && compareValueTo(propertyValue) >= 0;
  }
Construct a LessEqualsPredicate.

@param propertyId  the property id
@param value       the value

@throws IllegalArgumentException if the given value is null
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/LessEqualsPredicate.java