public static Optional<Boolean> parseBooleanExact(final String value) {
    if (booleanStringMatches(value, true)) {
      return Optional.of(true);
    }

    if (booleanStringMatches(value, false)) {
      return Optional.of(false);
    }

    return Optional.empty();
  }
@Test
  public void shouldParseExactEverythingElseAsEmpty() {
    assertThat(SqlBooleans.parseBooleanExact("No "), is(Optional.empty()));
    assertThat(SqlBooleans.parseBooleanExact(" true"), is(Optional.empty()));
    assertThat(SqlBooleans.parseBooleanExact(" f "), is(Optional.empty()));
    assertThat(SqlBooleans.parseBooleanExact("/tfalse"), is(Optional.empty()));
    assertThat(SqlBooleans.parseBooleanExact("what ever"), is(Optional.empty()));
  }