code: def get_page_redirect(self, word):
      page = self.pywikibot.Page(self.site, word)
      if page.pageid != 0 and page.isRedirectPage():
          return page.getRedirectTarget()
      return page
  
imports: import logging
  import os
  import re
  import sys
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page import WikipediaPage
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page_extracted_relations import WikipediaPageExtractedRelations
  from nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result import WikipediaSearchPageResult
  from nlp_architect.utils.text import SpacyInstance
label_desc: Use image node_id 5 for calling the WikiOnline obj's underlying member method code with example usage: obj.get_page_redirect(word) and returns: page, page