def isAuthorized(self, pid, action, vendorSpecific=None):
        """Return True if user is allowed to perform ``action`` on ``pid``, else
        False."""
        response = self.isAuthorizedResponse(pid, action, vendorSpecific)
        return self._read_boolean_401_response(response)