Add simple python code to check if a file path is /