code: def contains(haystack, needle):
      
      if sys.version_info[0] < 3:
          return needle in haystack
      else:
          return to_bytes(needle) in to_bytes(haystack)
docs: py3 contains
      :param haystack:
      :param needle:
      :return: