title: Check if all items in python list contain substring
body: <p>I have a python list, that I am getting from api:</p>
  
  <pre><code>ERRATA_PKG_LIST = []
  packages_key = "packages"
  for pkgs, package_name in errata_rhel_ver_dic.iteritems():
      if pkgs == packages_key:
         ERRATA_PKG_LIST.append(package_name)
  print(ERRATA_PKG_LIST)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[u'kernel-2.6.18-416.el5.i686',
   u'kernel-2.6.18-416.el5.x86_64',
   u'kernel-debug-2.6.18-416.el5.i686',
   u'kernel-debug-2.6.18-416.el5.x86_64',
   u'kernel-debug-devel-2.6.18-416.el5.i686',
   u'kernel-debug-devel-2.6.18-416.el5.x86_64',
   u'kernel-devel-2.6.18-416.el5.i686',
   u'kernel-devel-2.6.18-416.el5.x86_64',
   u'kernel-doc-2.6.18-416.el5.noarch',
   u'kernel-headers-2.6.18-416.el5.i386',
   u'kernel-headers-2.6.18-416.el5.x86_64',
   u'kernel-PAE-2.6.18-416.el5.i686',
   u'kernel-PAE-devel-2.6.18-416.el5.i686',
   u'kernel-xen-2.6.18-416.el5.i686',
   u'kernel-xen-2.6.18-416.el5.x86_64',
   u'kernel-xen-devel-2.6.18-416.el5.i686',
   u'kernel-xen-devel-2.6.18-416.el5.x86_64']
  </code></pre>
  
  <p>I want to check that each and every item in the list contains the substring: el5
  if all of the objects in the list contains el5 ,then assign a variable 
  rhel = "rhel 5" ,how do I achieve that ?</p>