public boolean interactionSupported() {
    Gfsh gfsh = Gfsh.getCurrentInstance();
    return gfsh != null && !gfsh.isQuietMode() && !gfsh.isHeadlessMode();
  }
Semi-complete implementation of {@link CliAroundInterceptor} for convenience for implementors.


@since GemFire 7.0
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/AbstractCliAroundInterceptor.java