code: def _check_logged_user(self):
          
          if not self._env or not self._password or not self._login:
              raise error.InternalError("Login required")
docs: Check if a user is logged. Otherwise, an error is raised.