def must_be_known(in_limit, out_limit):
    """
    Logical combinatino of limits enforcing a known state

    The logic determines that we know that the device is fully inserted or
    removed, alerting the MPS if the device is stuck in an unknown state or
    broken

    Parameters
    ----------
    in_limit : ``bool``
        Whether the in limit is active

    out_limit: ``bool``
        Whether the out limit is active

    Returns
    -------
    is_known
        Whether the logical combination of the limit switch ensure that the
        device position is known
    """
    return in_limit != out_limit