How to check if an object is playing ANY animation

I want to know if there is a way I can check whether any animation is playing, rather than a specific one.

So, I know for a specific I can use something like:

if (MainCamera_obj.animation.IsPlaying( &&
   (MainCamera_obj.animation[].normalizedTime < 1.0) )

But how would I check if the MainCamera above is playing ANY animations, is this even possible? A way to check if the animation component is being used maybe.