Stop Node from performing anything(under conditions)

Hi,

When trying to create a script is there any certain way to completely stop some nodes from doing anything? My intention is to get an error-free script from Dynamo Player.
In the example below I’m trying to stop the Copy Node by sending a “null” value, but it still runs and throws an error. I have a similar problem with other nodes as well.

You could try something…

scopeIf - but the inputs should not have any common ancestors in the graph.