library = [['desk', 'chair', 'lamp'], ['cow', 'word', 'horse', 'word 2',
    'word 1']]
terms = set(search_terms)
[x for x in library if terms.issubset(x)]
How to print a sublist that contains all of the strings in another list?