def METHOD_NAME(self, settings):
    if all(setting is None for setting in settings):
        return None
    return [
        setting
        for setting
        in settings
        if setting is not None
    ][-1]