The metering is done through the lens, using whatever it sees. So unless her hat is in the scene it won't make a difference.
My wife wears a big, floppy hat when she shoots outside. If she shoots something in direct sunlight and her camera is in the shade of her hat, does she have to compensate?