public final boolean isRemoved(){
  Token o=getValueAsToken();
  return (o == Token.REMOVED_PHASE1) || (o == Token.REMOVED_PHASE2) || (o == Token.TOMBSTONE);
}

public final boolean isRemoved ( ) { Token o = getValueAsToken ( ) ; return ( o == Token . REMOVED_PHASE1 ) || ( o == Token . REMOVED_PHASE2 ) || ( o == Token . TOMBSTONE ) ; }
return true if the object is removed . todo this method does not return true if the object is token . destroyed . dispatchlistenerevents relies on that fact to avoid removing destroyed tokens from the map . we should refactor so that this method calls token . isremoved , and places that don ' t want a destroyed token can explicitly check for a destroy token .
