def state(self):
        cmd = 'show virtual-service detail name guestshell+'
        try:
            got = self.cli(cmd)
        except CommandError:
            # means there is no guestshell
            self.exists = False
            self._state = 'None'
            return self._state

        try:
            self._state = got['TABLE_detail']['ROW_detail']['state']
            return self._state
        except TypeError:
            # means there is no guestshell
            self.exists = False
            self._state = 'None'
            return self._state