def _supports_alg(user_alg: bytes, peer_alg: bytes) -> bool:
    """
    Return whether the peer supports the algorithm specified by the user.

    :param user_alg: Service ID requested by user
    :param peer_alg: Service ID offered by privacy peer
    :return: True, if algorithm  is supported by the peer
    """
    return (user_alg == peer_alg)