async _isTTLSet() {
      
      if (!this.tableCreated) {
        throw new Error('Table is not created yet');
      }

      if (this.ttlManuallySet) {
        return true;
      }

      try {

        const res = await this.client.describeTimeToLive({TableName: this.tableName});
        return (
          res.$metadata.httpStatusCode == 200 
          && res.TimeToLiveDescription.TimeToLiveStatus === 'ENABLED'
          && res.TimeToLiveDescription.AttributeName === 'expire'
        );
        
      } catch (err) {
        throw err;
      }
    }
Checks if the Time To Live (TTL) feature is set for the DynamoDB table.

@return {boolean} Returns true if the TTL feature is enabled for the table, otherwise false.
@throws {Error} Throws an error if the table is not created yet or if there is an error while checking the TTL status.