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

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