This will check if a node number is valid, i.e between 1 and NodeCount.
Syntax: CheckNode(node: Integer)