/* This function uses check boot option is wheher setup application or no */
BOOLEAN IsBootManagerMenu(IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption)
/* This function uses check boot option is wheher setup application or no */
BOOLEAN IsBootManagerMenu(IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption)
{
  EFI_STATUS                    Status;
  EFI_BOOT_MANAGER_LOAD_OPTION  BootManagerMenu;
  Status = EfiBootManagerGetBootManagerMenu (&BootManagerMenu);
  if (!EFI_ERROR (Status)) {
    EfiBootManagerFreeLoadOption (&BootManagerMenu);
  }
  return (BOOLEAN)(!EFI_ERROR (Status) && (BootOption->OptionNumber == BootManagerMenu.OptionNumber));
}