def checkIdenticalExistingVectors( newgraphs, vectors, v ):
    """
    Checks if there exists a vector from 'vectors' corresponding to one of the
    graphs from 'newgraphs', that is equal to v (ie, checks if a vector equal to
    v has already been generated). If such vector exists, it returns True, and
    else it returns None
    """
    for i in newgraphs:
        for j in vectors[i]:
            if j == v:
                return True