Required library edition: Required library file: dhtmlxlayout.js
returns true if the event exists
var isEventExists = dhxLayout.checkEvent("onExpand"); // returns true/false