def _is_include_directive(entry):
    return (isinstance(entry, list) and
            len(entry) == 2 and entry[0] == 'include' and
            isinstance(entry[1], str))
Checks if an nginx parsed entry is an 'include' directive.
dataset/ETHPy150Open letsencrypt/letsencrypt/certbot-nginx/certbot_nginx/parser.py/_is_include_directive