static boolean isValidPort(int port) {
        return port > 0 && port <= 65535;
    }
Returns whether the specified {@code port} is in the valid range.
saml/src/main/java/com/linecorp/armeria/server/saml/SamlPortConfig.java