contains

Check whether a node is contained in this neighborhood.

Return

true if the input node is contained in this neighborhood, false otherwise.