@Override
  @Nullable
  default PyAstFunction asMethod() {
    if (getContainingClass() != null) {
      return this;
    }
    else {
      return null;
    }
  }
@Override
  @Nullable
  default PyAstFunction asMethod()