/* Return if this FMP is a system FMP or a device FMP, based upon CapsuleHeader. */
BOOLEAN IsFmpCapsule(IN EFI_CAPSULE_HEADER *CapsuleHeader)
/* Return if this FMP is a system FMP or a device FMP, based upon CapsuleHeader. */
BOOLEAN IsFmpCapsule(IN EFI_CAPSULE_HEADER *CapsuleHeader)
{
  if (IsFmpCapsuleGuid (&CapsuleHeader->CapsuleGuid)) {
    return TRUE;
  }
  if (IsNestedFmpCapsule (CapsuleHeader)) {
    return TRUE;
  }
  return FALSE;
}