Protect isListNode from things like document