Consider replacing with something like this...

```python
from utils.wait import wait_for

def check_removal(provider, name):
    if not ("%s/%s.vmx" % (name, name)) in provider.list_vm() \
                and not name in provider.list_vm():
        return True
    else:
        return False
...

wait_for(TestVmRetirement.check_removal, [self, vmware_linux_setup_data["vm_name"]],
            delay=60, num_sec=timeout_in_minutes*60)