public static final boolean isId(@Nullable String id) {if (id == null) {return false;}if (id.length() != Constants.OBJECT_ID_STRING_LENGTH)return false;try {for (int i = 0; i < Constants.OBJECT_ID_STRING_LENGTH; i++) {RawParseUtils.parseHexInt4((byte) id.charAt(i));}return true;} catch (ArrayIndexOutOfBoundsException e) {return false;}}

public static bool IsId(string id){if (id.Length != Constants.OBJECT_ID_STRING_LENGTH){return false;}try{for (int i = 0; i < Constants.OBJECT_ID_STRING_LENGTH; i++){RawParseUtils.ParseHexInt4(unchecked((byte)id[i]));}return true;}catch (IndexOutOfRangeException){return false;}}
