@Override
  public boolean isAsync() {
    final PyFunctionStub stub = getStub();
    if (stub != null) {
      return stub.isAsync();
    }
    return PyFunction.super.isAsync();
  }
@Override
  public boolean isAsync()