'is ospf nexthop exist'

def is_nexthop_exist(self):

    if (not self.ospf_info):
        return False
    for nexthop in self.ospf_info['nexthops']:
        if (nexthop['ipAddress'] == self.nexthop_addr):
            return True
    return False
