private async Task <bool> CheckCaptcha(string captcha) { var captchaChecked = await DataRequester.CheckCaptcha(captcha); if (captchaChecked != null && captchaChecked.Success) { return(true); } if (captchaChecked != null && captchaChecked.Error != null && !string.IsNullOrEmpty(captchaChecked.Error.Message)) { PopupMessage.DisplayMessage(captchaChecked.Error.Message); } else { PopupMessage.DisplayMessageInRes("CaptchaCheckFailed"); } return(false); }