ValueFlow: Refactoring. Created utility function isVariableChanged()