code: def clean_promoted_guids(raw_promoted_guids):
      
      valid = True
  
      for row in raw_promoted_guids:
          if len(row) != 2:
              valid = False
              break
  
          if not (
              (isinstance(row[0], str) or isinstance(row[0], unicode))
              and (isinstance(row[1], int) or isinstance(row[1], float))  # noqa
          ):
              valid = False
              break
  
      if valid:
          return raw_promoted_guids
      return []
docs: Verify that the promoted GUIDs are formatted correctly,
      otherwise strip it down into an empty list.