code: public boolean inList(String path) {
      if (Strings.isNullOrEmpty(path)) {
        return false;
      }
  
      for (String prefix : mInnerList) {
        if (path.startsWith(prefix)) {
          return true;
        }
      }
  
      return false;
    }
docs: Checks whether a prefix of {@code path} is in the prefix list.
  
  @param path the path to check
  @return true if the path is in the list, false otherwise