How can I check for active visit in my gsp file?

Thank you Rafal for the pointer. It will surely help.