Added isEmpty to the paginator contract