BNFNode :: hasParent - Does parser has got a parent
The function checks, whether the BNFNode has a parent or not.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.