how about `if @latestResult?.get('finalSpecifics')?[populationCriteriaKey]`