Yes, the rainbow is the Cusco flag. I think a few people were a little unnerved when they arrived to a town that had rainbow flags flying everywhere. You could hear a sigh of relief on some when they found out it was the actual flag of Cusco- and not a huge pride festival going on.