public boolean hasValue() {
        return predicate != null;
    }
Returns true if the value is set, and false, if not

@return true if initialized and false if not
querydsl-core/src/main/java/com/querydsl/core/BooleanBuilder.java