code: def is_prelinked_bytecode(bytecode: bytes, link_refs: List[Dict[str, Any]]) -> bool:
      
      for link_ref in link_refs:
          for offset in link_ref["offsets"]:
              try:
                  validate_empty_bytes(offset, link_ref["length"], bytecode)
              except ValidationError:
                  return True
      return False
docs: Returns False if all expected link_refs are unlinked, otherwise returns True.
      todo support partially pre-linked bytecode (currently all or nothing)