def METHOD_NAME(return_node: astroid.Return) -> bool:
    """Check if a return node returns a value other than None.
    Args:
        return_node: astroid.Return. The return node to check.
    Returns:
        bool. True if the return node returns a value other than None, False
        otherwise.
    """
    returns = return_node.value
    if returns is None:
        return False
    return not (isinstance(returns, astroid.Const) and returns.value is None)