boolean contains(Object testObj) {
        if (obj == null) {
            return false;
        }
        if (obj.equals(testObj)) {
            return true;
        }
        if (obj instanceof Object[]) {
            Object[] objArray = (Object[])obj;
            for(int i=0;i<objArray.length;i++) {
                if (objArray[i].equals(testObj)) {
                    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