/* Discover if a protocol guid is one of the UEFI Driver Model Protocols. */
BOOLEAN IsDriverProt(IN CONST EFI_GUID *Guid)
/* Discover if a protocol guid is one of the UEFI Driver Model Protocols. */
BOOLEAN IsDriverProt(IN CONST EFI_GUID *Guid)
{
  CONST EFI_GUID  **GuidWalker;
  BOOLEAN         GuidFound;
  GuidFound = FALSE;
  for (GuidWalker = UefiDriverModelProtocolsGuidArray
       ; GuidWalker != NULL && *GuidWalker != NULL
       ; GuidWalker++
       )
  {
    if (CompareGuid (*GuidWalker, Guid)) {
      GuidFound = TRUE;
      break;
    }
  }
  return (GuidFound);
}