Most airports and airlines have automatic readers that will verify the validity of the boarding pass at the jetway door or boarding gate. This also automatically updates the airline's database to show the passenger has boarded and the seat is used, and that the checked baggage for that passenger may stay aboard.