The picture's a little fuzzy but it's neither, its a genus and species of Corallimophidae, what is commonly called Mushroom Coral.
It's a good guy and a keeper more or less, they can under the right conditions, grow like weeds in a tank and kill other corals, most people have to purchase them. :wink:
Regards,
David Mohr