kevin's null/new/default checker.