public static boolean isStringMeaningTrue(String property) {
        if ( property == null ) {
            return false;
        } else {
            property = property.trim();
            if ( property.equalsIgnoreCase( "true" ) ) {
                return true;
            } else if ( property.startsWith( "Y" ) ) {
                return true;
            } else if ( property.startsWith( "y" ) ) {
                return true;
            } else if ( property.equalsIgnoreCase( "on" ) ) {
                return true;
            } else {
                return false;
            }
        }
    }
@Test
    public void testIsStringMeaningTrue() {
        assertThat(isStringMeaningTrue("true")).isTrue();
        assertThat(isStringMeaningTrue("TRUE")).isTrue();
        assertThat(isStringMeaningTrue("yes")).isTrue();
        assertThat(isStringMeaningTrue("oN")).isTrue();

        assertThat(isStringMeaningTrue("no")).isFalse();
        assertThat(isStringMeaningTrue("false")).isFalse();
        assertThat(isStringMeaningTrue(null)).isFalse();
    }