def check_k_elements(test_list, K):
    return all(len(t) == K and all(x == K for x in t) for t in test_list)