/* Check if Target argument to EXT_SCSI_PASS_THRU.GetNextTarget() and EXT_SCSI_PASS_THRU.GetNextTargetLun() is initialized  */
STATIC BOOLEAN IsTargetInitialized(IN UINT8 *Target)
/* Check if Target argument to EXT_SCSI_PASS_THRU.GetNextTarget() and EXT_SCSI_PASS_THRU.GetNextTargetLun() is initialized  */
STATIC BOOLEAN IsTargetInitialized(IN UINT8 *Target)
{
  UINTN  Idx;
  for (Idx = 0; Idx < TARGET_MAX_BYTES; ++Idx) {
    if (Target[Idx] != 0xFF) {
      return TRUE;
    }
  }
  return FALSE;
}