canModifyObject(hasGovernanceBypass) {
        // can modify object if object is not locked
        // cannot modify object in any cases if legal hold is enabled
        // if no legal hold, can only modify object if bypassing governance when locked
        if (!this.isLocked()) {
            return true;
        }
        return !this.legalHold && this.isGovernanceMode() && !!hasGovernanceBypass;
    }
ObjectLockInfo.canModifyObject
@param {bool} hasGovernanceBypass - Whether to bypass governance retention policies
@returns {bool} - True if the retention policy allows the objects data to be modified (overwritten/deleted)