code: def verifyUpdatewcs(fname):
      
      updated = True
      numsci,extname = count_sci_extensions(fname)
      for n in range(1,numsci+1):
          hdr = fits.getheader(fname, extname=extname, extver=n, memmap=False)
          if 'wcsname' not in hdr:
              updated = False
              break
      return updated
docs: Verify the existence of WCSNAME in the file.  If it is not present,
      report this to the user and raise an exception.  Returns True if WCSNAME
      was found in all SCI extensions.