def configure():
    """Set up features for *get* requests to */rest/configure*, e.g., proxy or plug-ins.
    
    :returns: html -- Status of configuration request (e.g., proxy or plug-ins).
    """
    if not request.query.proxy and not request.query.plugins and not request.query.packages and request.query not in 'environment':
        return _("proxy, plugins, packages or environment must be specified")
    options = Options()
    if request.query.proxy:
        setattr(options, "proxy", request.query.proxy)
    if request.query.plugins:
        setattr(options, "plugins", request.query.plugins)
    if request.query.packages:
        setattr(options, "packages", request.query.packages)
    if 'environment' in request.query:
        setattr(options, "showEnvironment", True)
    cntlr.run(options)
    response.content_type = 'text/html; charset=UTF-8'
    return htmlBody(tableRows(cntlr.logHandler.getLines(), header=_("Configuration Request")))
dataset/ETHPy150Open Arelle/Arelle/arelle/CntlrWebMain.py/configure/swapped operands of `not in`