code: def is_root_path(self, filename):
          
          test_filename = filename + '/'
          for root_dir in self.root_dirs:
              if test_filename.startswith(root_dir):
                  return True
          return False
docs: Determines if 'filename' corresponds to a directory on this device.