Ticket valid check