Do bumblebees know when ants are in?

I took a few photos of a large Bombus terrestris bumblebee (queen I think) visiting foxglove flowers in St. James Park, London on a fine day last week. When I looked closely at the images I noticed a few ants within individual foxglove flowers. Lasius niger worker ants – and other species presumably – often…