public static boolean evaluateAsBoolean(@Nullable PyExpression expression, boolean defaultValue) {
    return ObjectUtils.notNull(evaluateAsBoolean(expression), defaultValue);
  }
public static boolean evaluateAsBoolean(@Nullable PyExpression expression, boolean defaultValue)