def METHOD_NAME(self, key: str) -> Any:
    """@brief Return the highest priority value for the option, or its default."""
    for layer in self._layers:
        if key in layer:
            return layer[key]
    return self.get_default(key)