isHeadNode

Checks if the given node is the head node.

Return

true if the node is the head node, false otherwise.

Parameters

node

the node to check.