/* Check if the input is a (potentially empty) string of hexadecimal nibbles. */
BOOLEAN IsStringOfHexNibbles(IN CONST CHAR16 *String)
/* Check if the input is a (potentially empty) string of hexadecimal nibbles. */
BOOLEAN IsStringOfHexNibbles(IN CONST CHAR16 *String)
{
  CONST CHAR16  *Pos;
  for (Pos = String; *Pos != L'\0'; ++Pos) {
    if (!ShellIsHexaDecimalDigitCharacter (*Pos)) {
      return FALSE;
    }
  }
  return TRUE;
}