def has_referrer(self, ref):
        '''
        Returns whether the passed ref might be referring to an url in this page
        '''
        return ref == self.url or ref in self.referrers
dataset/ETHPy150Open andrewf/pcap2har/pcap2har/pagetracker.py/Page.has_referrer/original