Define class E_Tag and related functions
Add is_ticket_visible()
Clean up code and add is_user_visible()