code: def _get_shade_hdrgos(**kws):
          if 'shade_hdrgos' in kws:
              return kws['shade_hdrgos']
          if 'hdrgo_prt' in kws:
              return kws['hdrgo_prt']
          if 'section_sortby' in kws and kws['section_sortby']:
              return False
          if 'top_n' in kws and isinstance(kws['top_n'], int):
              return False
          return True