public boolean isGemfireHomeDefined() {
    String gemfireHome = getGeodeHome();
    return StringUtils.isNotBlank(gemfireHome);
  }
this method will try to find the named war files in the following order: 1. if GEODE_HOME is
defined, it will look under tools/Extensions, tools/Pulse and lib folder (in this order) to
find either the name-version.war or the name.war file 2. If GEODE_HOME is not defined, it will
try to find either the name-version.war/name.war (in that order) on the classpath

@param warFilePrefix : the prefix of the war file, e.g. geode-web, geode-pulse, or
       geode-web-api
geode-core/src/main/java/org/apache/geode/management/internal/AgentUtil.java