code: def get_radio_by_name(self, radio_name: str) -> 'RadioPresets':
          
          if self.has_radio_presets:
              for k in FlyingUnit.RadioPresets.radio_enum[self.unit_type].keys():
                  if radio_name == FlyingUnit.RadioPresets.radio_enum[self.unit_type][k]['radio_name']:
                      return FlyingUnit.RadioPresets(self, k)
              raise TypeError('{} for aircraft: {}'.format(radio_name, self.unit_type))
          else:
              raise TypeError('unit #{}: {}'.format(self.unit_id, self.unit_name))
docs: Args:
              radio_name: radio name
  
          Returns: radio presets for this radio