public boolean hasEntry( NextInterceptor nextInterceptor, Name name ) throws NamingException
public boolean hasEntry( NextInterceptor nextInterceptor, LdapDN name ) throws NamingException
    public boolean hasEntry( NextInterceptor nextInterceptor, Name name ) throws NamingException    {        // Ask others first.        boolean hasEntry = nextInterceptor.hasEntry( ( LdapDN ) name );        // If the entry exists,        if ( hasEntry )        {            // Check DELETED attribute.            try            {                Attributes entry = nextInterceptor.lookup( ( LdapDN ) name );                hasEntry = !isDeleted( entry );            }            catch ( NameNotFoundException e )            {                System.out.println( e.toString( true ) );                hasEntry = false;            }        }        return hasEntry;    }