code: function( element )
  	{
  		var childNodes = element.getChildren();
  
  		for ( var i = 0, count = childNodes.count() ; i < count ; i++ )
  		{
  			var child = childNodes.getItem( i );
  
  			if ( child.type == CKEDITOR.NODE_ELEMENT && CKEDITOR.dtd.$block[ child.getName() ] )
  				return true;
  		}
  
  		return false;
  	}
docs: Check if an element contains any block element.