def has_method(self, name):
    for method in self.methods:
      if method.name == name:
        return True
    return False
Append a character into ngram buffer.
dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/Class.has_method--crossover with--dataset/ETHPy150Open Mimino666/langdetect/langdetect/utils/ngram.py/NGram.add_char