<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)