Add method to check if a cell is within a range