'Sets value if priority is higher or equal than current priority.'

def set(self, value, priority):

    if (priority >= self.priority):
        if isinstance(self.value, BaseSettings):
            value = BaseSettings(value, priority=priority)
        self.value = value
        self.priority = priority
