def verify_true_false(self, name):
    value = self.__bindings.get(name)
    if self.is_reference(value):
      self.__errors.append('Missing "{name}".'.format(name=name))
      return False

    if isinstance(value, bool):
      return True

    self.__errors.append('{name}={value!r} is not valid.'
                         ' Must be boolean true or false.'
                         .format(name=name, value=value))
    return False
Used by recv_process & send_process
dataset/ETHPy150Open spinnaker/spinnaker/pylib/spinnaker/validate_configuration.py/ValidateConfig.verify_true_false--crossover with--dataset/ETHPy150Open sahana/eden/controllers/inv.py/req_items_for_inv