Morgan Stanley Interview Question

What is a Lyapunov function?