def stateNames(self):
<INDENT>if self.current_session:<EOL><DEDENT>s = self.tmp_dir_session<EOL>l = [x for x in s.listdir() if s.join(x).isdir()]<EOL>naturalSorting(l)<EOL>if '<STR_LIT>' in l:<EOL><INDENT>l.remove('<STR_LIT>')<EOL>l.insert(<NUM_LIT:0>, '<STR_LIT>')<EOL><DEDENT>return l<EOL>
Returns:
             list: the names of all saved sessions