'find a specific external IP'

def find_external_ips(self, inc_external_ip):

    val = None
    try:
        idx = self.get_external_ips().index(inc_external_ip)
        val = self.get_external_ips()[idx]
    except ValueError:
        pass
    return val
