I've never been checked when I left the UK before. This was a surprise to me. I don't know if this was a RANDOM check or a permanent procedure after the Glasgow bombing. When I was leaving from Heathrow T3 in June, before the Glasgow bombing, every passport was systematically checked after security.