add graphite function isNonNull

Adding in a function that we want to use. Thanks!