because of the following case:
base_folder = 'c:\\'
sub_folder = 'c:\\folder'

sp(base_folder) + os.path.sep = 'c:\\\\'
and therefore
sp(base_folder) + os.path.sep in sp(sub_folder) + os.path.sep returns False