/**
 * Method to perform sanity checks on the Table instance properties to ensure they are safe to store in the database.
 *
 * Child classes should override this method to make sure the data they are storing in the database is safe and as expected before storage.
 *
 * @return  boolean  True if the instance is sane and able to be stored in the database.
 *
 * @since   1.7.0
 */
public function check()
{
    // Post-processing by observers
    $event = AbstractEvent::create('onTableCheck', ['subject' => $this]);
    $this->getDispatcher()->dispatch('onTableCheck', $event);
    return true;
}