Get whether two proposal objects are the same.
This is used to (together with hash) to match proposals in the completion model. By default, it uses direct equality (direct_equal).
a SourceCompletionProposal.
true if this and object are the same proposal
object