def cisco_conf_parse_parents(parent, child, config):
if type(config) == str:<EOL><INDENT>config = config.splitlines()<EOL><DEDENT>parse = CiscoConfParse(config)<EOL>cfg_obj = parse.find_parents_w_child(parent, child)<EOL>return cfg_obj<EOL>
Use CiscoConfParse to find parent lines that contain a specific child line.

:param parent: The parent line to search for
:param child:  The child line required under the given parent
:param config: The device running/startup config