'Should we return the default instead of prompting the user?
:param str prompt: prompt for the user
:param default: default answer to prompt
:param str cli_flag: command line option for setting an answer
to this question
:param bool force_interactive: if interactivity is forced by the
IDisplay call
:returns: True if we should return the default without prompting
:rtype: bool'

def _return_default(self, prompt, default, cli_flag, force_interactive):

    if self._can_interact(force_interactive):
        return False
    elif (default is None):
        msg = 'Unable    to    get    an    answer    for    the    question:\n{0}'.format(prompt)
        if cli_flag:
            msg += '\nYou    can    provide    an    answer    on    the    command    line    with    the    {0}    flag.'.format(cli_flag)
        raise errors.Error(msg)
    else:
        logger.debug('Falling    back    to    default    %s    for    the    prompt:\n%s', default, prompt)
        return True
