Question: is energy a state function?
Answer: State functions do not depend on the path by which the system arrived at its present state. ... For example, internal energy, enthalpy, and entropy are state quantities because they describe quantitatively an equilibrium state of a thermodynamic system, irrespective of how the system arrived in that state.