def get_universe(self, as_str=False):
        """Returns universe the client is connected to. See ``Universe``.

        :param bool as_str: Return human-friendly universe name instead of an ID.
        :rtype: int|str
        """
        result = self._iface.get_connected_universe()

        if as_str:
            return Universe.get_alias(result)

        return result
Returns universe the client is connected to. See ``Universe``.

        :param bool as_str: Return human-friendly universe name instead of an ID.
        :rtype: int|str