def is_secure_scheme(scheme: str) -> bool:
    """Check if the given scheme is secure.

    Args:
        scheme: Scheme to check

    Returns:
        Whether the scheme is secure.
    """
    return scheme in {"tcps", "tcp4s", "tcp6s", "rss"}