docs: function hasAllRequiredInHash( existing, required ) {
  		if ( !required )
  			return true;
  
  		for ( var i = 0, req; i < required.length; ++i ) {
  			req = required[ i ];
  			if ( typeof req == 'string' ) {
  				if ( !( req in existing ) )
  					return false;
  			}
  			// This means regexp.
  			else {
  				if ( !CKEDITOR.tools.checkIfAnyObjectPropertyMatches( existing, req ) )
  					return false;
  			}
  		}
  
  		return true;
  	}