isAncestor(Customer) method

Syntax

boolean isAncestor ( Customer customer )

Parameters

Returns

true if this instance is customer's ancestor; false otherwise

Usage

Determines if this instance is a either a direct parent or an ancestor (of whatever degree) of the specified customer.

true if this instance is customer's ancestor; false otherwise