def new(cls, value: Any) -> HookValue:
        """Return a new HookValue instance with the given value."""
        if isinstance(value, HookValue):
            return value
        return cls(value)
Return a new HookValue instance with the given value.
dynaconf/hooking.py