Is InOP COMP input connected?

Is there a better way to test if something is connected to an inOP COMP input than:

len(parent().inputConnectors[1].connections)

1 Like

Alas, that is the only way I have discovered.

I guess you can skip the len()? That’s a tiny bit better, no?

1 Like