def returns_something(return_node):
returns = return_node.value<EOL>if returns is None:<EOL><INDENT>return False<EOL><DEDENT>return not (isinstance(returns, astroid.Const) and returns.value is None)<EOL>
Check if a return node returns a value other than None.

    :param return_node: The return node to check.
    :type return_node: astroid.Return

    :rtype: bool
    :return: True if the return node returns a value other than None,
        False otherwise.