def METHOD_NAME(self, domains, action_name, action_state):
    if not domains:
        self.stdout.write('\n\nNo domains need {}.'.format(action_name))
        return
    self.stdout.write('\n\nDomains needing {}\n'.format(action_name))
    self.stdout.write('\n'.join(domains))
    confirm = input('\n\nContinue with {}? [y/n] '.format(action_name))
    if not confirm == 'y':
        self.stdout.write('\nAborting {}\n\n'.format(action_name))
        return
    self.stdout.write('\n')
    for domain in domains:
        self.stdout.write('.')
        EXPLORE_CASE_DATA_PREVIEW.set(domain, action_state, NAMESPACE_DOMAIN)
    self.stdout.write('\n\nDone.\n\n')