graph_is function

Check properties of graphs.