Refactoring of CompileTimeConstant, introduce flag to represent a constant being referenced by a variable
Intention to simplify boolean expressions that have parts in them that can be reduced to constants