if (Model.Content.HasProperty("redirectToAnotherPage") && Model.Content.HasValue("redirectToAnotherPage")) { }