def is_robot(self, *args, **kwargs):
        robots = [
            'facebook',
            'postrank',
            'voyager',
            'twitterbot',
            'googlebot',
            'slurp',
            'butterfly',
            'pycurl',
            'tweetmemebot',
            'metauri',
            'evrinid',
            'reddit',
            'digg',
        ]
        robots.extend(args)
        for robot in robots:
            if robot.lower() in self.request.headers['User-Agent'].lower():
                return True
        return False
dataset/ETHPy150Open letolab/airy/airy/core/web.py/AiryRequestHandler.is_robot/original