Bug 122850 Table/list should not be able to be inserted in Master Page mode.
Description: Table/list should not be able to be inserted in Master Page mode. Steps to reproduce: 1. New a report and transfer to Master Page mode. 2. New a datasource and dataset 3. Drag a list/table to page header/footer, bind it to dataset and drag some columns inside. 4. Save and preview Expected result: Insert list/table item in master page should be forbidden. Actual result: They are allowed and preview showed "undefine" in page
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
return retValue;
	}
	/**
	 * Checks whether the root of the current element is included by
	 * report/library.
	 * 
	 * @return <code>true</code> if the root of the current element is
	 *         included by report/library. Otherwise <code>false</code>.
	 */
	private boolean isRootIncludedByModule( )
	{
		DesignElement tmpContainer = getRoot( );
		if ( tmpContainer instanceof Library
				&& ( (Library) tmpContainer ).getHost( ) != null )
		{
			return true;
		}
		return false;
	}
	/**
	 * Determines if the current element can contain an element with the
	 * definition of <code>elementType</code> on context containment.
	 * 
	 * @param module
	 *            the module
	 * @param slotId
	 *            the slot id
	 * @param defn
	 *            the definition of the element
	 * @return <code>true</code> if the slot can contain the an element,