Is there an efficient way of checking if a list contains an element which is not a certain element like the other ones?
I have many lists looking like that:
a = ["_", "_", "_", "_"]
b = ["_", "b", "_", "_"]
c = ["a", "_", "x", "_"]
They are mostly underscores but sometimes there is an element not being an underscore. I only want to process those with "content". At the moment, I do that with for-loops checking if there is a non-underscore element. Is there a more efficient way?