isLocked() {
        if (this.legalHold) {
            return true;
        }

        if (!this.mode || !this.date) {
            return false;
        }

        return !this.isExpired();
    }
ObjectLockInfo.isLocked
@returns {bool} - Whether the retention policy is active and protecting the object