private boolean checkNameExist( DesignElement element, String name )
private boolean checkNameExist( DesignElementHandle handle, String name )
	private boolean checkNameExist( DesignElement element, String name )	{		if ( name == null || name.length( ) == 0 )			return false;		ElementDefn metaData = (ElementDefn) element.getDefn( );		int ns = metaData.getNameSpaceID( );		// first found the element with the given name. Since the library		// has it own namespace -- prefix, the range of name check should be		// in the current module.		DesignElement existedElement = SessionHandleAdapter.getInstance( )				.getReportDesignHandle( )				.getModule( )				.getNameSpace( ns )				.getElement( name );		return ( existedElement == null || existedElement == element ) ? false				: true;	}