Methods to check if there's text in the textbox