def METHOD_NAME(self, sqltype, offset, count):
    """Validate."""
    query = self._table.select(
        and_(
            self._table.c.type == sqltype,
            self._table.c.index >= offset,
            self._table.c.index <= offset + count - 1,
        )
    )
    result = self._connection.execute(query).fetchall()
    return len(result) == count