Added isCompiletimeEvaluable and isRuntimeEvaluable methods to the Value class

Not sure if these are the right names for the methods but I think this functionality will be important.