Add isDeterministic to Expression to differentiate constants from expressions that may be different with the same inputs, for example CURRENT_DATE() and NEXT VALUE FOR, renamed isConstant to isStateless