What is a state function? Is it about the arguments that the function itself takes or is it about the form of the function? How are state functions generally linked?