Check whether a biconnected graph in planar or not