@cached_property
    def bucket(self):
        if self._connection not in self.bucket_name:
            return self._connection.create_bucket(self.bucket_name)
        return self._connection.get_bucket(self.bucket_name)
dataset/ETHPy150Open lepture/flask-storage/flask_storage/s3.py/S3Storage.bucket/swapped operands of `not in`