docs: function instanceOf(instance, target) {
          if (!isFunction(target)) {
              return false;
          }
  
          if (instance instanceof target) {
              return true;
          }
  
          if (instance && instance.$static && instance.$static[$class] && target && target[$interface]) {
              return instanceOfInterface(instance, target);
          }
  
          return false;
      }