/* Determine whether this operation needs a physical present user. */
BOOLEAN NeedPhysicallyPresent(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid)
/* Determine whether this operation needs a physical present user. */
BOOLEAN NeedPhysicallyPresent(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid)
{
  if (IsVariablePolicyEnabled ()) {
    if (  (CompareGuid (VendorGuid, &gEfiSecureBootEnableDisableGuid) && (StrCmp (VariableName, EFI_SECURE_BOOT_ENABLE_NAME) == 0))
       || (CompareGuid (VendorGuid, &gEfiCustomModeEnableGuid) && (StrCmp (VariableName, EFI_CUSTOM_MODE_NAME) == 0)))
    {
      return TRUE;
    }
  }
  return FALSE;
}