How to check whether a variable is set or not in jquery??

How to check whether a variable is set or not in jquery??

My code have a text area which is to be hidden on first load , then on clicking of reply button textarea need to be shown. this is ok.. .But the problm is that i am validating that text area using framework validation and when the validation error message is displayed the textarea got hidden. But i dont want that area to be hidden on error display.

so i want to check whethr a variable is set or not, and then to display that text area. how can i do this with jquery???

pls help .....