isThingModel is too permissive
There is a function called isThingModel in the td-tools package at https://github.com/eclipse/thingweb.node-wot/blob/master/packages/td-tools/src/thing-model-helpers.ts#L91
There are a couple of if conditions after line 107 that can result in a document recognized as a TM even if the document does not have tm:thingModel in the @type. I do not understand why those checks are added but if I am not wrong, everything after line 107 should be deleted and an else should be added instead that returns false.
@relu91 @lukesmolo any opinion?
Unfortunately I can't remember precisely, but this was a point of discussion with @relu91, so let me add him here.