Check if the propery exist from dartObject
bool ifExist(DartObject obj, String name) => obj.getField(name) != null;