On Lyapunov functions and data-driven dissipativity