@Override
  public Expression simplifyOnce() {
    var result = expression.tryStaticEvaluate();
    if (result.isSuccess()) {
      return Boolean.TRUE.equals(result.get()) ? Expression.TRUE : Expression.FALSE;
    } else {
      return this;
    }
  }
Creates a new boolean expression from {@code script} where {@code context} defines the available variables.
planetiler-custommap/src/main/java/com/onthegomap/planetiler/custommap/expression/BooleanExpressionScript.java