Equivalent to System.properties.'idea.active' for eclipse?


I just wanted to know if there’s an equivalent to System.properties.‘idea.active’ for eclipse?
I’m building a gradle plugin and would like to apply some features if an IDE env is detected.

By the way, if the idea plugin is applied, will the System.properties.‘idea.active’ return true only if we effectively are running gradle under Intellij? And what does it mean exactly?

Thanks in advance