def binary_to_int(binary: str) -> int:
    """Convert a binary string to an integer

    Args:
        binary (str): Binary string

    Returns:
        int: Integer value of binary string
    """
    return int(binary, 2)