def flag_query(self, details):
    'Returns the answer to a query on flag\n    \n    Returns the answer to a query on the specified variable using netio\n    \n    Args:\n      details: {"query": string} \n    '
    if ('query' not in details):
        raise Exception('query not specified')
    if (details['query'] not in self.flag_queries.keys()):
        raise Exception(('query not supported. Must be one of: ' + ','.join(self.flag_queries.keys())))
    val = self._get_flag(self.flag_queries[details['query']])
    return ('yes' if val else 'no')
Returns the answer to a query on flag

Returns the answer to a query on the specified variable using netio

Args:
  details: {"query": string}
def flag_query(self, details):
    'Returns the answer to a query on flag\n    \n    Returns the answer to a query on the specified variable using netio\n    \n    Args:\n      details: {"query": string} \n    '
    if ('query' not in details):
        raise Exception('query not specified')
    if (details['query'] not in self.flag_queries.keys()):
        raise Exception(('query not supported. Must be one of: ' + ','.join(self.flag_queries.keys())))
    val = self._get_flag(self.flag_queries[details['query']])
    return ('yes' if val else 'no')