def get_host_stats(self, refresh=False):
    "Return the current state of the host.\n\n        If 'refresh' is True, run update the stats first.\n        "
    if (refresh or (not self._stats)):
        self.update_status()
    return self._stats
Return the current state of the host.

If 'refresh' is True, run update the stats first.
def get_host_stats(self, refresh=False):
    "Return the current state of the host.\n\n        If 'refresh' is True, run update the stats first.\n        "
    if (refresh or (not self._stats)):
        self.update_status()
    return self._stats