lib/classes/Utils.js/Utils/isEventUsed
class Utils:  isEventUsed(functions, eventName) {
    return _.reduce(
      functions,
      (accum, func) => {
        const events = func.events || [];
        if (events.length) {
          events.forEach(event => {
            if (Object.keys(event)[0] === eventName) {
              accum = true; // eslint-disable-line no-param-reassign
            }
          });
        }
        return accum;
      },
      false
    );
  }