public override bool IsSet(int x, int y) { if (CalculateIndex(x, y, _data.Length, out int index)) return _data[index]; return false; }