public boolean isExecuteOnly() {
        return isCode() && (flagword & FLAG_EXE_ONLY) != 0;
    }
Returns true if this segment is execute-only.
@return true if this segment is execute-only
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/ne/Segment.java