public boolean isValid() {
		MemoryBlock txtBlock = programContext.getGoSection("text");
		if (txtBlock != null && !txtBlock.contains(getText())) {
			return false;
		}

		MemoryBlock typelinkBlock = programContext.getGoSection("typelink");
		if (typelinkBlock != null &&
			typelinkBlock.getStart().getOffset() != typeLinks.getArrayOffset()) {
			return false;
		}

		// all these static slices should be allocated with len == cap.  If not true, fail.
		if (!typeLinks.isFull() || !filetab.isFull() || (pctab != null && !pctab.isFull()) ||
			!pclntable.isFull() || !ftab.isFull()) {
			return false;
		}

		return true;
	}
Returns true if this module data structure contains sane values.

@return true if this module data structure contains sane values
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoModuledata.java