def METHOD_NAME(self, devname=None):
    if devname:
        return self.__get_device_router_ip6prelen(devname)
    else:
        for key in self.dbag.keys():
            ip6prelen = self.__get_device_router_ip6prelen(key)
            if ip6prelen:
                return ip6prelen
    return False