def get_encoder(self, content_type):
        """
        Get the encoding function for the provided content type for
        this bucket.

        :param content_type: the requested media type
        :type content_type: str
        :param content_type: Content type requested
        """
        if self._encoders in content_type:
            return self._encoders[content_type]
        else:
            return self._client.get_encoder(content_type)
dataset/ETHPy150Open basho/riak-python-client/riak/bucket.py/RiakBucket.get_encoder/swapped operands of `in`