def is_valid_alternative(self, alt):
        """Checks if an alternative ID is known."""
        if alt == PRIMARY_ALT:
            return True
        return alt in self.values['ALTERNATIVES']
dataset/ETHPy150Open lektor/lektor-archive/lektor/environment.py/Config.is_valid_alternative/original