What is the correct way to detemine a transaction is expired?

According to the statement in the ‘admission_contorl.proto’ ,

If I receive a response that my transaction is not yet completed, I must check the latest timestamp in the ledgerInfo that I receive back from the query.

But the response has no ledgerInfo message.