def get_wrong_orphan_volume_attachments(nova_instances, orphan_volume_attachments):
    wrong_orphan_volume_attachments = {}
    for orphan_volume_attachment_id in orphan_volume_attachments:
        if (nova_instances.get(orphan_volume_attachments[orphan_volume_attachment_id]) is None):
            wrong_orphan_volume_attachments[orphan_volume_attachment_id] = orphan_volume_attachments[orphan_volume_attachment_id]
    return wrong_orphan_volume_attachments
def get_wrong_orphan_volume_attachments(nova_instances, orphan_volume_attachments):
    wrong_orphan_volume_attachments = {}
    for orphan_volume_attachment_id in orphan_volume_attachments:
        if (nova_instances.get(orphan_volume_attachments[orphan_volume_attachment_id]) is None):
            wrong_orphan_volume_attachments[orphan_volume_attachment_id] = orphan_volume_attachments[orphan_volume_attachment_id]
    return wrong_orphan_volume_attachments