def _extract_tar(archive, output_folder):
from .terminal import ( run_command, which )<EOL>result = which('<STR_LIT>')<EOL>if result['<STR_LIT>'] != <NUM_LIT:0>:<EOL><INDENT>bot.error('<STR_LIT>')<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>script = result['<STR_LIT:message>'] <EOL>command = ['<STR_LIT>' ,script, '<STR_LIT>', archive, '<STR_LIT>', output_folder]<EOL>if not bot.is_quiet():<EOL><INDENT>print("<STR_LIT>" % archive)<EOL><DEDENT>return run_command(command)<EOL>
use blob2oci to handle whiteout files for extraction. Credit for this
       script goes to docker2oci by Olivier Freyermouth, and see script
       folder for license.

       Parameters
       ==========
       archive: the archive to extract
       output_folder the output folder (sandbox) to extract to