code: protected Boolean getBoolean(Exchange exchange, Message message, String name) {
          Object value = getObject(exchange, message, name);
          if (value instanceof Boolean) {
              return (Boolean)value;
          } else if (value instanceof String) {
              return Boolean.valueOf(((String)value).trim());
          }
          return false;
      }
docs: Gets a Boolean context property.
  
  @param exchange the exchange
  @param message the message
  @param name the name
  @return the property