Function: isn't clickabel

Hello everyone,

I was wondering, do I have to rewrite this function if I want to use it in my plugin, or is there some way, how to access it?

Since I’m using my own way right now, the function works as expected, but I would like to access the state in plugins style condition. Like IF “isn’t clickabel” color GREY > which will also ignore HOVER style. Am able to do such a thing directly on my object, but it is a bit complicated and I want it to be shareable through styles.

Can you please give me a lead, how to achieve that?

Thank you,