public boolean hasNode(final Node node){
  return nodes.contains(node);
}

public boolean hasNode ( final Node node ) { return nodes . contains ( node ) ; }
returns true if " node " is a way node of this way
