@allow_from_sudo()
    def has_root(self):
        if self.sudo_proxy is not None:
            return self.sudo_proxy.has_root()
        return has_root()
Check whether the user currently has root/administrator access.
dataset/ETHPy150Open cloudmatrix/esky/esky/__init__.py/Esky.has_root