boolean isEmpty() {
        if (obj == null) {
            return true;
        }
        if (obj instanceof Object[]) {
            if (((Object[])obj).length == 0) {
                return true;
            }
        }
        return false;
    }
Removes a range from a object.

@param range the range being removed.
@param objID the id of the object it is being
removed from.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressObjectMap.java