'Checks that all commands in the progs list exist on the remote system.
Returns True if all commands exist and raises exception.CommandNotFound
if not.'

def check_required(self, progs):

    for prog in progs:
        if (not self.which(prog)):
            raise exception.RemoteCommandNotFound(prog)
    return True
