Use this instead:
if 'a' in L or 'b' in L:
If we want to check if all these of this "items" are in the list, all and a generator comprehension is your friend:
items = 'a', 'b', 'c'
if all(i in L for i in items):
Or if any of these items are in the list, use any:
if any(i in L for i in items)