code: def get_stable_entries(self, charge_to_discharge=True):
          
          list_copy = list(self._stable_entries)
          return list_copy if charge_to_discharge else list_copy.reverse()
docs: Get the stable entries.
  
          Args:
              charge_to_discharge: order from most charge to most discharged
                  state? Default to True.
  
          Returns:
              A list of stable entries in the electrode, ordered by amount of the
              working ion.