def sse_customer_algorithm_exists(event):
    """Algorithm function - check for customer algorithm"""
    if 'x-amz-server-side-encryption-customer-algorithm' in event['detail']['responseElements']:
        return True
    return False