Required library edition: Required library file: dhtmlxtoolbar.js
returns true if event exists
var isEventExists = toolbar.checkEvent("onClick"); // returns true/false