goja-core/src/main/java/goja/core/Validator.java
public static boolean isIdentityCard(String value) {
        String check = "(^\\d{15}$)|(^\\d{17}([0-9]|X)$)";
        return match(check, Pattern.CASE_INSENSITIVE, value);
    }
public static boolean isIdentityCard(String value) {
        String check = "(^\\d{15}$)|(^\\d{17}([0-9]|X)$)";
        return match(check, Pattern.CASE_INSENSITIVE, value);
    }
public static boolean isIdentityCard ( String value ) { String check = "(^\\d{15}$)|(^\\d{17}([0-9]|X)$)" ; return match ( check , Pattern . CASE_INSENSITIVE , value ) ; }
Identity verification

@param value value
@return boolean
Identity verification