original_docstring: Check if we have been redirected to the Recommended course page
docstring: Check if we have been redirected to the Recommended course page
docstring_tokens: Check if we have been redirected to the Recommended course page
code: def check_redirect(self):
          "Check if we have been redirected to the Recommended course page"
          result_flag = False
          if self.redirect_title_course in self.driver.title:
              result_flag = True
              self.switch_page("Recommended course page")
  
          return result_flag
code_tokens: def check_redirect ( self ) : result_flag = False if self . redirect_title_course in self . driver . title : result_flag = True self . switch_page ( "Recommended course page" ) return result_flag
short_docstring: Check if we have been redirected to the Recommended course page
short_docstring_tokens: Check if we have been redirected to the Recommended course page
comment: "Check if we have been redirected to the Recommended course page"