public boolean isCode() {
        return !isData();
    }
Returns true if this is a code segment.
@return true if this is a code segment
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/ne/Segment.java