private boolean emulateTerminal() {
    if (PythonSdkUtil.isRemote(getSdk()) && !Registry.is("python.use.targets.api")) {
      // do not allow to emulate terminal for legacy non-target remote interpreters logic
      return false;
    }
    return myConfig.emulateTerminal();
  }
private boolean emulateTerminal()