def contain_rule(self, rule_name):
        return "repository" in self.grammar and rule_name in self.grammar["repository"]
dataset/ETHPy150Open spywhere/Javatar/parser/GrammarParser.py/GrammarParser.contain_rule/original