If I call shutil.rmtree('/') Will I nuke my entire drive or does the function have an inner check for this case?
rmtree doesn't have any special logic in it. If you have permissions to / (e.g., the program is run by root), you will indeed wipe your installation.
Will shutil.rmtree() check for the root directory?