if ( ( (ReportElementModel) obj ).getSlotHandle( ).getElementHandle( ) instanceof MasterPageHandle )
if ( ((SlotHandle) obj).getElementHandle( ) instanceof MasterPageHandle )
	private static boolean isMasterPageHeaderOrFooter( Object obj )	{		if ( !( obj instanceof ReportElementModel ) )		{			return false;		}		if ( ( (ReportElementModel) obj ).getSlotHandle( ).getElementHandle( ) instanceof MasterPageHandle )		{			return true;		}		return false;	}