replace nil comparisons with calls to isNil