public bool IsSubscribed(string email, string listId) { Result <bool> result = Subscribers.GetIsSubscribed(Settings.ApiKey, listId, email); if (result.Code == 100 || result.Code == 101) { string message = string.Format("GetActiveListsOnSubscriber() error! result.Code: {0} result.Message: {1}", result.Code, result.Message); log.Error(message); throw new Exception(message); } return(result.ReturnObject); }