'Helper for the check_installed public method.
:param name: Package name.
:param version: Package version.'

def _check_installed_version(self, name, version):

    cmd = (((self.lowlevel_base_cmd + '    -q    --qf    %{VERSION}    ') + name) + '    2>    /dev/null')
    inst_version = utils.system_output(cmd, ignore_status=True)
    if ('not    installed' in inst_version):
        return False
    if (inst_version >= version):
        return True
    else:
        return False
