def format_returnvalue(self, value):
self._ensure_loaded()<EOL>if not self.return_info.is_data:<EOL><INDENT>return None<EOL><DEDENT>if self.return_info.type_name is not None:<EOL><INDENT>return typeinfo.type_system.format_value(value, self.return_info.type_name, self.return_info.formatter)<EOL><DEDENT>return self.return_info.formatter(value)<EOL>
Format the return value of this function as a string.

        Args:
            value (object): The return value that we are supposed to format.

        Returns:
            str: The formatted return value, or None if this function indicates
                that it does not return data