presto-kafka/src/main/java/io/prestosql/plugin/kafka/KafkaSplitManager.java/KafkaSplitManager/isURI
class KafkaSplitManager:    private static boolean isURI(String location)
    {
        try {
            URI.create(location);
        }
        catch (Exception e) {
            return false;
        }
        return true;
    }