public static boolean contains(String str, String prefix) {
        return str != null && str.contains(prefix);
    }
alternative to {@link String#valueOf(Object)}
commons/src/main/java/com/navercorp/pinpoint/common/util/StringUtils.java