def visitAllNeighborClique(visited, binary):
    """
    Checks wether all considered nodes in binary are visited 
    or not. This function is used as a utility function for the 
    clique subroutine

    Parameters:
    ==========
    visited: list
        The information of visited and unvisited node

    binary: list
        The nodes which are under consideration

    Returns:
    =======
    bool:
        If all considered nodes are visited then True
        otherwise False
    """
    n = len(binary)
    for i in range(n):
        if binary[i] == 1 and visited[i] == False:
            return False
    return True