from functools import reduce
l = ['tool', 'ab', 'too', 'xc', 'abb', 'toot', 'abed', 'abel', 'sdfdg',
    'abfdsdg', 'xccc', 'xcew', 'xrew']
reduce(r, l)
list(find(l))
Obtain a list containing string elements excluding elements prefixed with any other element from initial list