fixed the bug in NodeExist that makes it return the opposite value
fixed so IsOutput returns false if the node exist instead of failing