code: def get_max_instability(self, min_voltage=None, max_voltage=None):
          
          data = []
          for pair in self._select_in_voltage_range(min_voltage, max_voltage):
              if pair.decomp_e_charge is not None:
                  data.append(pair.decomp_e_charge)
              if pair.decomp_e_discharge is not None:
                  data.append(pair.decomp_e_discharge)
          return max(data) if len(data) > 0 else None
docs: The maximum instability along a path for a specific voltage range.
  
          Args:
              min_voltage: The minimum allowable voltage.
              max_voltage: The maximum allowable voltage.
  
          Returns:
              Maximum decomposition energy of all compounds along the insertion
              path (a subset of the path can be chosen by the optional arguments)