Check the existence of the active tab