@Override
    @Nullable
    public String check(final String name) {
      if (myFunction != null && !myFunction.fun(name)) {
        return PyPsiBundle.message("refactoring.extract.method.error.name.clash");
      }
      return null;
    }
@Override
    @Nullable
    public String check(final String name)