for i in range(len(data)):
    if find not in data[i]:
        return False
return True
print(long_substr(['Oh, hello, my friend.', 'I prefer Jelly Belly beans.',
    'When hell freezes over!']))
Longest common substring from more than two strings - Python