def flag_robots(doc):
doc['<STR_LIT>'] = '<STR_LIT>' in doc and is_robot(doc['<STR_LIT>'])<EOL>return doc<EOL>
Flag events which are created by robots.

    The list of robots is defined by the `COUNTER-robots Python package
    <https://github.com/inveniosoftware/counter-robots>`_ , which follows the
    `list defined by Project COUNTER
    <https://www.projectcounter.org/appendices/850-2/>`_ that was later split
    into robots and machines by `the Make Data Count project
    <https://github.com/CDLUC3/Make-Data-Count/tree/master/user-agents>`_.