public static boolean isReference(final String name) {
    // The REF_NAME_PATTERN regex is not computationally trivial, so see if we can fast-fail
    // on a simple heuristic first. The regex contains a literal ".", so if that character
    // isn't in the name, then the regex cannot match.
    if (!name.contains(".")) {
      return false;
    }

    Matcher m = REF_NAME_PATTERN.matcher(name);
    return m.matches() && m.groupCount() > 1;
  }
@param name file name to check.
@return True if the path has format of a HStoreFile reference.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java