<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_isotropic_cells(self):
 """``True`` if `grid` is uniform and `cell_sides` are all equal. Always ``True`` for 1D partitions. Examples -------- True False """

        return self.is_uniform and np.allclose(self.cell_sides[:-1],
                                               self.cell_sides[1:])