def is_qemu(td, qemu):
    """
        Checks if MACHINE is qemu.
    """

    machine = td.get('MACHINE', '')
    if (qemu in td.get('MACHINE', '') or
    machine.startswith('qemu')):
        return True
    return False