def _ec2Instance_tag_dict(ec2_object):
    """Given an tagable ec2_object, return dictionary of existing tags."""
    tag_dict = {}
    if ec2_object.tags is None:
        return tag_dict

    for tag in ec2_object.tags:
        tag_dict[tag['Key']] = tag['Value']
    return tag_dict