def prompt_join_hangout(self, hangout_url):
        if not utils.has_browser():
            return
        hangout_client = None
        users = self.workspace_info.get('users')
        for user_id, user in users.items():
            if user['username'] == G.USERNAME and 'hangout' in user['client']:
                hangout_client = user
                break
        if hangout_client:
            return
        choice = editor.vim_choice('This workspace is being edited in a hangout. Join the hangout?', 'yes', ['yes', 'no'])
        if choice == 'yes':
            webbrowser.open(hangout_url, new=2, autoraise=True)
dataset/ETHPy150Open Floobits/floobits-vim/plugin/floo/vim_handler.py/VimHandler.prompt_join_hangout/original