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 a (JSONable) object describing a portal in human-readable
dataset/ETHPy150Open jpvanhal/flask-split/flask_split/core.py/_is_robot--crossover with--dataset/ETHPy150Open erkyrath/tworld/lib/two/execute.py/portal_description