def METHOD_NAME(self, do_flush, verbosity):
    if do_flush:
        msg = (
            'You have provided the --flush argument, this will cleanup '
            'the database before creating new data.\n'
            'Type \'y\' or \'yes\' to continue, \'n\' or \'no\' to cancel: '
            )
    else:
        msg = (
            'Note that this command won\'t cleanup the database before '
            'creating new data.\n'
            'If you would like to cleanup the database before creating '
            'new data, call create_initial_data with --flush.\n'
            'Type \'y\' or \'yes\' to continue, \'n\' or \'no\' to cancel: '
        )
    confirm = input(self.style.WARNING(msg))
    if do_flush and confirm in ('y', 'yes'):
        try:
            call_command('flush', verbosity=verbosity, interactive=False)
        except Exception as exc:
            self.stdout.write(self.style.ERROR(f'{type(exc).__name__}: {exc}'))
    return confirm