def is_match(self, match):
        '''
        Returns True if this is a good match.
        Returns False if his is not a good match.
        '''
        return (match is not None and ((match >= self.cutoff and self.same) or (match < self.cutoff and not self.same)))
dataset/ETHPy150Open devttys0/binwalk/src/binwalk/modules/hashmatch.py/HashMatch.is_match/original