Verifies if a node is contained inside a neighborhood.
true if n belongs to this neighborhood
the node to be searched