'Check if vector os is compatible with the remote os.'

def _os_match(self, os):

    os_string = self.session['system_info']['results'].get('os')
    if (not os_string):
        return True
    os_current = (Os.WIN if os_string.lower().startswith('win') else Os.NIX)
    return (os in (os_current, Os.ANY))
