'Gets all live sessions for an application.'

def get_sessions(self, app_path=None):

    if (app_path is not None):
        return self._tornado.get_sessions(app_path)
    all_sessions = []
    for path in self._tornado.app_paths:
        all_sessions += self._tornado.get_sessions(path)
    return all_sessions
