private static boolean isValidURL(String url) {
        String urlPattern = "^(https?|ftp)://[a-zA-Z0-9.-]+(/.*)?$";
        return url.matches(urlPattern);
    }
Validates if the provided URL is in a valid format.

@param url The URL to validate
@return True if the URL is valid, otherwise false
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/controller/cluster/ClusterController.java