code: def method_name_exist(self, meth_name):
          
  
          methods = self.current_class.get_methods()
          for m in methods:
              if m.name == meth_name:
                  return True
          return False
docs: Check if there is already a meth_name method in the current class
             It is useful before allowing to rename a method to check name does
             not already exist.