New regulations came in a few years ago to cover that. Hopefully anywhere serving rare burgers is diligent about their supply chain and kitchen processes.
https://catersafeconsultants.co.uk/new-regulations-rare-burg...
https://www.food.gov.uk/sites/default/files/media/document/f...