Dynamic Hook icon change to reflect whether a DEVONthink item is hooked to something [Request for hooked DEVONthink-items to have a different icon]

It would be already beneficial if a tag (e.g. “Hook”) exist for DEVONthink items that have Hook links. An AppleScript could be run periodically, deleting all old “Hook” tags and (re-)adding this tag for those documents that are currently linked in Hook’s link database.

Is there such a script available?