'Return True if the SHAs of the two objects match.
It doesn\'t make sense to talk about an order on ShaFiles, so we don\'t
override the rich comparison methods (__le__, etc.).'

def __eq__(self, other):

    return (isinstance(other, ShaFile) and (self.id == other.id))
