added optional url check to checkStructure/Entity