<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def confirm_phone_number(self, sms_code):
 """Confirm phone number with the recieved SMS code :param sms_code: sms code :type sms_code: :class:`str` :return: success (returns ``False`` on request fail/timeout) :rtype: :class:`bool` """

        sess = self._get_web_session()

        try:
            resp = sess.post('https://steamcommunity.com/steamguard/phoneajax',
                            data={
                                'op': 'check_sms_code',
                                'arg': sms_code,
                                'checkfortos': 1,
                                'skipvoip': 1,
                                'sessionid': sess.cookies.get('sessionid', domain='steamcommunity.com'),
                                },
                            timeout=15).json()
        except:
            return False

        return (resp or {}).get('success', False)