def _ha_not_none(self):
    return ((self._high_availability_mode != consts.HighAvailabilityMode.NONE) and (self._config.platform != consts.Platforms.NONE))
def _ha_not_none(self):
    return ((self._high_availability_mode != consts.HighAvailabilityMode.NONE) and (self._config.platform != consts.Platforms.NONE))