public async Task<bool> ContainsUserAtList(long listId, string user)
{
this.CheckAccountState();
try
{
await this.Api.ListsMembersShow(listId, user)
.ConfigureAwait(false);
return true;
}
catch (TwitterApiException ex)
when (ex.ErrorResponse.Errors.Any(x => x.Code == TwitterErrorCode.NotFound))
{
return false;
}
}