Use `contentOption.nodeType` to check for DOM elements.