IsSquareAttacked metod