"Happy" is a biological construct that may not occur everywhere.
I think any entity that has to somehow be attracted to any kind of "food", and be repelled from any kind of "pain", ie, I think, any kind of life, has due to the above, ingrained the concept of "happy".