optional processing of connected inputs only.
Use the value, don't assume it is true.
Merge pull request #254 from stonier/optional_inputs

optional processing of connected inputs only