apollo-core/src/main/java/com/ctrip/framework/foundation/internals/io/BOMInputStream.java/BOMInputStream/hasBOM
class BOMInputStream:  public boolean hasBOM() throws IOException {
    return getBOM() != null;
  }