is_path
Returns whether or not the specified path exists
G (graph) – A NetworkX graph.
path (list) – A list of node labels which defines the path to traverse
isPath – A boolean representing whether or not the path exists
bool