Suppose you might have meant !contains() || value() != notebook
?