// IsNodeValid check whether a node in or not in the graph
IsNodeValid check whether a node in or not in the graph
// IsNodeValid check whether a node in or not in the graph
func (g adjacencyListGraph) IsNodeValid(currNode NodeID) bool {
	if int(currNode) >= len(g.adjList) {
		return false
	}
	return true
}
func ( g adjacencyListGraph ) IsNodeValid ( currNode NodeID ) bool { if int ( currNode ) >= len ( g . adjList ) { return false } return true }
IsNodeValid check whether a node in or not in the graph
IsNodeValid check whether a node in or not in the graph