replace !==null with is_null native function