code: def _confirm_overwrite(filename):
          
  
          message = '{}Would you like to overwrite the contents of {} (y/[n])? '.format(
              c.Fore.MAGENTA, filename
          )
          # 2to3 fixes this for py3
          response = raw_input(message)  # noqa: F821, pylint: disable=E0602
          response = response.lower()
  
          if response in ['y', 'yes']:
              return True
          return False
docs: Confirm overwrite of template files.
  
          Make sure the user would like to continue downloading a file which will overwrite a file
          in the current directory.
  
          Args:
              filename (str): The name of the file to overwrite.
  
          Returns:
              bool: True if the user specifies a "yes" response.