Question: is g a state function?
Answer: Delta G, or just Gibbs free energy, is a state function. This means that you can apply the properties state functions have such as the properties you use for enthalpy and entropy.