method isClique into Graph