def _auth(self):
        codec = PbufCodec()
        username = self._client._credentials.username
        password = self._client._credentials.password
        if not password:
            password = ''
        msg = codec.encode_auth(username, password)
        resp_code, _ = self._non_connect_send_recv_msg(msg)
        if resp_code == riak.pb.messages.MSG_CODE_AUTH_RESP:
            return True
        else:
            return False
Each file specifying an experimental setup should contain a
dataset/ETHPy150Open basho/riak-python-client/riak/transports/tcp/connection.py/TcpConnection._auth--crossover with--dataset/ETHPy150Open rlpy/rlpy/examples/tutorial/ChainMDPTut_example.py/make_experiment