Check to see if the catalog has a version for the given event.
@example
import utils from'@eventcatalog/utils'; const{ eventHasVersion }=utils('/path/to/eventcatalog'); // returns true if version is found for the given event and version (supports semver) awaiteventHasVersion('InventoryAdjusted','0.0.1'); awaiteventHasVersion('InventoryAdjusted','latest'); awaiteventHasVersion('InventoryAdjusted','0.0.x');*
Check to see if the catalog has a version for the given event.