in deploy_code/multipagepdfa2i_wrapup/gather_data.py [0:0]
def does_exsist(bucket, key):
s3 = boto3.resource('s3')
try:
s3.Object(bucket, key).load()
except botocore.exceptions.ClientError as e:
return False
else:
return True