Add javadoc for the Graph.contains method return values