Check if GameObject.SetActive(true/false)

I have a GO in my script:

GameObject object1;

I enable/disable it using SetActive(true/false).

And I want to check if it enabled or disabled.
Something like this:

if(object1.enabled) { ... }

How can I do it?

Try GameObject.activeInHierarchy

GameObject.activeSelf; //Returns if the object is active or not
GameObject.activeInHierarchy; //Return if the object is active in the scene

THANKS A LOT! this is what im trying to do