def is_bucket_name(client, name):
    response = client.list_buckets()['Buckets']
    for r in response:
        if (name == r['Name']):
            return True
    return False
def is_bucket_name(client, name):
    response = client.list_buckets()['Buckets']
    for r in response:
        if (name == r['Name']):
            return True
    return False