def METHOD_NAME(self):
    # sysrc doesn't really use exit codes
    (rc, out, err) = self.run_sysrc(self.name)
    if self.value is None:
        regex = "%s: " % re.escape(self.name)
    else:
        regex = "%s: %s$" % (re.escape(self.name), re.escape(self.value))
    return not self.has_unknown_variable(out, err) and re.match(regex, out) is not None