Function areCellGroupsIntersecting