public boolean applyDistanceRule() {
        return this == TRADITIONAL || this == PROJECT_APE || this == GCHQ || this == USER_DEFINED;
    }
Whether this type contains the given cache.

@return true if this is the ALL type or if this type equals the type of the cache.
main/src/main/java/cgeo/geocaching/enumerations/CacheType.java