Symbol not found with new SDK

Hi

I recently updated my datafield to the new sdk 4.2.3 and now 4.2.4 (from 4.1.2).

I got a compilation error in this line:

if(info has :distanceToDestination && info.distanceToDestination != null) {

It seems the new SDK does not have the "has :distanceToDestination".

I removed the "has" clause and now a user has the problem that it crashes in this line (FR955 Solar) with an "Symbol not found error".

if(info.distanceToDestination != null) {

What should I do in this case ? Shouldnt the variable distanceToDestination not always be available and when not set, at least be null??

thanks for your help

regards

Erich