If we have the following list:
list = [\'UMM\', \'Uma\', [\'Ulaster\',\'Ulter\']]
If I need to find out if an element in the list is itself
Probably, more intuitive way would be like this
if type(e) is list: print('Found a list element inside the list')