code: public boolean isSame(Item otherItem)
     {
  
        if (isValid())
        {
           if (otherItem == null)
           {
              return false;
           }
  
           if (!this.getClass().equals(otherItem.getClass()))
           {
              return false;
           }
  
           try
           {
  
              // identifier is not changed on ItemImpl
              return getInternalIdentifier().equals(((ItemImpl)otherItem).getInternalIdentifier());
           }
           catch (Exception e)
           {
              LOG.debug("Item.isSame() failed " + e.getMessage());
              return false;
           }
        }
  
        return false;
     }
docs: {@inheritDoc}