Fix is_NA: was throwing a warning if called on a function