public static boolean toBoolean(String valueStr) {
        if (StringUtil.isNotBlank(valueStr)) {
            valueStr = valueStr.trim().toLowerCase();
            return TREE_SET.contains(valueStr);
        }
        return false;
    }
@Test
    public void assertToBoolean() {
        Assert.assertTrue(BooleanUtil.toBoolean("true"));
        Assert.assertTrue(BooleanUtil.toBoolean("yes"));
        Assert.assertTrue(BooleanUtil.toBoolean("1"));
    }