docs: def cisco_conf_parse_objects(cfg_section, config):
      """
      Use CiscoConfParse to find and return a section of Cisco IOS config.
      Similar to "show run | section <cfg_section>"
  
      :param cfg_section: The section of the config to return eg. "router bgp"
      :param config: The running/startup config of the device to parse
      """
      return_config = []
      if type(config) is str:
          config = config.splitlines()
      parse = CiscoConfParse(config)
      cfg_obj = parse.find_objects(cfg_section)
      for parent in cfg_obj:
          return_config.append(parent.text)
          for child in parent.all_children:
              return_config.append(child.text)
      return return_config