Is there any way Component::isEnabled() for the specific component only?

Is there any way Component::isEnabled() for the specific component only? Currently it returns is the component and all parents are enabled. I need to get it just for the specific component I’m interested in.

Component properties might work for this? More a workaround than a solid solution:

comp.getProperties().set ("enabled", false);

//...

if (comp.getProperties().getWithDefault ("enabled", true))
{
    // ...
}