docs: def present(name, containment='NONE', options=None, **kwargs):
      '''
      Ensure that the named database is present with the specified options
  
      name
          The name of the database to manage
      containment
          Defaults to NONE
      options
          Can be a list of strings, a dictionary, or a list of dictionaries
      '''
      ret = {'name': name,
             'changes': {},
             'result': True,
             'comment': ''}
  
      if __salt__['mssql.db_exists'](name, **kwargs):
          ret['comment'] = 'Database {0} is already present (Not going to try to set its options)'.format(name)
          return ret
      if __opts__['test']:
          ret['result'] = None
          ret['comment'] = 'Database {0} is set to be added'.format(name)
          return ret
  
      db_created = __salt__['mssql.db_create'](name, containment=containment, new_database_options=_normalize_options(options), **kwargs)
      if db_created is not True:  # Non-empty strings are also evaluated to True, so we cannot use if not db_created:
          ret['result'] = False
          ret['comment'] += 'Database {0} failed to be created: {1}'.format(name, db_created)
          return ret
      ret['comment'] += 'Database {0} has been added'.format(name)
      ret['changes'][name] = 'Present'
      return ret