def validate_machine(m):
    """
    We're only searching for Dell machines, so filter
    everything else out.
    """
    if not m.active:
        raise MachineNotActive
    elif not m.is_dell:
        raise MachineNotDell
    else:
        return m

    We're only searching for Dell machines, so filter
    everything else out.
    
recipes/Python/577056_Retrieve_Dell_Warranty_Informatiall_machines_AD_/recipe-577056.py