def bind_ack(data):
    """
    Ensure the data is a bind ack and that the
    """

    # packet type == bind ack (12)?
    if data[2] != b"\x0c":
        return False

    # ack result == acceptance?
    if data[36:38] != b"\x00\x00":
        return False

    return True