The Object isSealed() static method determines if an object is sealed.

    
    const account = {
        amount: 100
    }

    console.log(Object.isSealed(account));
    // false

    Object.seal(account);

    console.log(Object.isSealed(account));
    // true