nonEmpty means not undefined
unified internal interface for liquidContext