So What I am trying to do is have it search configs for the existance of "interface Multilink XX". If that exists I then want to to search for certain config under each "interface Serialxxx". I can get these checks to happen independantly, but if "interface multilinkxxx" does not exist, then I don't want to check the serial interfaces anymore.
How can get something to check if routers have a multilink interface, AND IF SO check for certain config on it's serial interfaces?