private bool ValidateApiKey() { if (string.IsNullOrEmpty(_apiKey)) { System.Diagnostics.Debug.WriteLine("ApiKey has not been provided, exception will not be logged"); return false; } return true; }