def solution(self, vars=None):
        """
        Return a static copy of the current variable bindings as dict
        """
        if vars:
            return FrozenBindings(
                self, ((k, v)
                       for k, v in self.bindings.iteritems()
                       if vars in k))
        else:
            return FrozenBindings(self, self.bindings.iteritems())
dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/sparql.py/QueryContext.solution/swapped operands of `in`