def _interface_exists(self, interface):
ios_cfg = self._get_running_config()<EOL>parse = HTParser(ios_cfg)<EOL>itfcs_raw = parse.find_lines("<STR_LIT>" + interface)<EOL>return len(itfcs_raw) > <NUM_LIT:0><EOL>
Check whether interface exists.