isPresent
isPresent(value: T) : Bool for any type T.
Returns true if a value is non-null and false otherwise. (Values like [], "", 0 and false are not equal to
null and return true.)
Examples:
isPresent("")returnstrueisPresent(0)returnstrueisPresent(null: Integer)returnsfalseforeach l in network.locations select {x: isPresent(l.city)}returnstruefor each city innetwork.locationsthat has a value, andfalseif the city is undefined.