code: function (beanDef) {
                  if (this._options.checkBeans && (!this._options.checkMultiTypes)
                          && this.__loadedBeans[this._BEANS_SCHEMA_PACKAGE]) {
                      var baseType = beanDef[this._MD_BASETYPE];
                      if (baseType == this._typeError) {
                          return false;
                      }
                      var beanChecker = this._getBean(this._BEANS_SCHEMA_PACKAGE + '.' + baseType.typeName);
                      this.$assert(402, beanChecker != null); // every type must be defined in the schema
  
                      // make a copy of current errors as normalization will erase them
                      var currentErrors = this._errors;
                      var errors = this._processJsonValidation({
                          beanDef : beanChecker,
                          json : beanDef
                      });
                      // restaure errors
                      this._errors = currentErrors;
  
                      if (errors.length > 0) {
                          this._logError(this.BEANCHECK_FAILED, [this._currentBeanName, errors]);
                          return false;
                      }
  
                  }
                  return true;
              }
docs: Called when preprocessing, just after having determined the type of bean. If beans check is enabled and
  multitypes check is disabled, it checks that the bean is valid according to the corresponding schema in
  aria.core.BaseTypes
  @param {aria.core.BaseTypes:Bean} bean to check