Hiding Socket if some value change

Hello everyone,
I would like to know if there is a possibility of making the Socket hidden or disabled as a different Socket’s value.

Suppose, I have two Boolean inputs and only if the first one is TRUE then the second becomes relevant but if the first one is FALSE, the second becomes irrelevant so I would like it to be hidden or disabled in the interface (similar to what other Modifiers has)

Is it possible?

It is better without a script because I want to build an asset that will be available and will not depend on another plugin installation.

Examples:
image

image