Update node_IDXview.py

redundant checks removed.
is   `key in inputs`, then it will have a `.links`, but it may be `[]` or have content.