code: def get_block(self, parent, config='running_config'):
          
          try:
              parent = r'^%s$' % parent
              return self.node.section(parent, config=config)
          except TypeError:
              return None
docs: Scans the config and returns a block of code
  
          Args:
              parent (str): The parent string to search the config for and
                  return the block
              config (str): A text config string to be searched. Default
                  is to search the running-config of the Node.
  
          Returns:
              A string object that represents the block from the config.  If
              the parent string is not found, then this method will
              return None.