/* This function checks whether a handle is a valid EFI_HII_HANDLE This is a internal function. */
BOOLEAN IsHiiHandleValid(EFI_HII_HANDLE Handle)
/* This function checks whether a handle is a valid EFI_HII_HANDLE This is a internal function. */
BOOLEAN IsHiiHandleValid(EFI_HII_HANDLE Handle)
{
  HII_HANDLE  *HiiHandle;
  HiiHandle = (HII_HANDLE *)Handle;
  if (HiiHandle == NULL) {
    return FALSE;
  }
  if (HiiHandle->Signature != HII_HANDLE_SIGNATURE) {
    return FALSE;
  }
  return TRUE;
}