Added image convention
Exported nodeHasContent function