Checks if string is IPv4. 检查字符串是否为ipv4
static bool isIPv4(String s) => RegexUtils.hasMatch(s, RegexConstants.ipv4);