'Executes an INSERT query on the named table.
Args:
table : string giving the table name
values : dict of new column names and values for them
Returns:
bool: Whether the row was inserted or not. Only useful when
`or_ignore` is True'

@defer.inlineCallbacks
def _simple_insert(self, table, values, or_ignore=False, desc='_simple_insert'):

    try:
        (yield self.runInteraction(desc, self._simple_insert_txn, table, values))
    except self.database_engine.module.IntegrityError:
        if (not or_ignore):
            raise
        defer.returnValue(False)
    defer.returnValue(True)
