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.
Checks if the given node is the head node.
true if the node is the head node, false otherwise.
the node to check.