code: def _chk_gene2go(assoc):
      
      if not assoc:
          raise RuntimeError("NO ITEMS FOUND IN ASSOCIATIONS {A}".format(A=assoc))
      for key in assoc:
          if isinstance(key, str) and key[:3] == "GO:":
              raise Exception("ASSOCIATIONS EXPECTED TO BE gene2go, NOT go2gene: {EX}".format(
                  EX=assoc.items()[:2]))
          return
docs: Check that associations is gene2go, not go2gene.