def is_goal(state):
    """Check if the solution state has been found, where all pillars are on.

    :param state: Current state of the puzzle
    :return:      Boolean, true if the solution has been found.
    """
    for pillar in state:
        if pillar == 0:
            return False
    return True