Added small method to check if cell is active.