<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def createModel(self, model, context, owner='', includeReferences=True):
 """ Creates a new table in the database based cff the inputted schema information. If the dryRun flag is specified, then the SQLConnection will only be logged to the current logger, and not actually executed in the database. :param model | <orb.Model> context | <orb.Context> :return <bool> success """

        CREATE = self.statement('CREATE')
        sql, data = CREATE(model, includeReferences=includeReferences, owner=owner)
        if not sql:
            log.error('Failed to create {0}'.format(model.schema().dbname()))
            return False
        else:
            if context.dryRun:
                print sql % data
            else:
                self.execute(sql, data, writeAccess=True)

            log.info('Created {0}'.format(model.schema().dbname()))
            return True