def _is_robot():
    robot_regex = current_app.config['SPLIT_ROBOT_REGEX']
    user_agent = request.headers.get('User-Agent', '')
    return re.search(robot_regex, user_agent, flags=re.VERBOSE)
Return `True` if the current visitor is a robot or spider, or
dataset/ETHPy150Open jpvanhal/flask-split/flask_split/core.py/_is_robot