private async Task <bool?> IsEligibleForListing() { bool?isEligibleForMatching = await IsEligibleForMatching().ConfigureAwait(false); if (isEligibleForMatching != true) { return(isEligibleForMatching); } // Bot must have public inventory bool?hasPublicInventory = await Bot.HasPublicInventory().ConfigureAwait(false); if (hasPublicInventory != true) { Bot.ArchiLogger.LogGenericTrace(string.Format(Strings.WarningFailedWithError, nameof(Bot.HasPublicInventory) + ": " + (hasPublicInventory?.ToString() ?? "null"))); return(hasPublicInventory); } return(true); }