def check_switch(panel : int, switch : int) -> bool:
    """
    Get whether switch is set on or off
    ===================================

    Parameters
    ----------
    panel : int
        Switch panel to investigate.
    switch : int
        Switch to check.

    Returns
    -------
    bool
        True, if switch is on, False if not.

    Notes
    -----
        This function works well binary switch panels only.
    """

    return panel // switch % 2 == 1