How can I prove that a function is continuous?