public static boolean validateIPv4(String str) {
        return validateIPv4(str, 0);
    }
decimal is integer, check has non-zero small

@param decimal
@return
core/src/main/java/com/alibaba/fastjson2/util/TypeUtils.java