Not quite sure what you meant by 'referencing it', it's part of the change. It is used by the other code paths of this change. I followed the other code's convention like 'isText(..)' just above. Otherwise I could have just inlined it.