def search_tag_copied()

in lambda/snapshots_tool_utils.py [0:0]


def search_tag_copied(response):
# Search for a tag indicating we copied this snapshot
    try:
        for tag in response['TagList']:
            if tag['Key'] == 'CopiedBy' and tag['Value'] == 'Snapshot Tool for RDS':
                return True

    except Exception:
        return False

    return False