code: function (methodName, interceptor) {
          var capitalizedMethodName = "on" + require("../utils/String").capitalize(methodName);
          if ((interceptor[capitalizedMethodName + "CallBegin"] || interceptor[capitalizedMethodName + "Callback"] || interceptor[capitalizedMethodName
                  + "CallEnd"])
                  || (interceptor["on" + methodName + "CallBegin"] || interceptor["on" + methodName + "Callback"] || interceptor["on"
                          + methodName + "CallEnd"])) {
              return true;
          }
          return false;
      }
docs: Determines if a method has been intercepted: the interceptor contains on[methodName]CallBegin,
  on[methodName]Callback, on[methodName]CallEnd.
  @param {String} methodName the method name that could be intercepted.
  @param {Object} interceptor contains an intercepting method for the methodName.
  @return {Boolean} true if method has been intercepted