Its really hard to relate Polyp extention to any one thing. Thier are so many uses and reasons a coral has it polyps extended or not you really couldnt tell if it were for good or bad reasons.
A coral can extend its polyps because it is not getting enough light, it can extend it because it is reacting to a chemical stimulis, or possible mechanical stimulas. These stimulis could be the result of sencing a nearby corals scent, or possibly food, or mechanically from something landed on it. It could extend its polyp as a indicator responce to reproduction, either chemically, or scent wise or even lighting conditions. Its really a long list of possiblities and/or combinations of possibilities.
Most corals will extend polyps and/or sweepers at night as preditation is lower and thats when its rivals are in biz. But again itss not carved in stone.
So if your looking at your coral and its polyps are out it might not be happy, it might be mad, or hurt, or starving, or looking to do the gigigigi.lol
Mike