<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def client(self):
 """The client used in perforce queries"""

        if isinstance(self._client, six.string_types):
            self._client = Client(self._client, self)

        return self._client