def get_existing_objs(self):
    args = self.get_xos_args(throw_exception=False)
    instance = args.get('instance', None)
    network = args.get('network', None)
    if ((not instance) or (not network)):
        return []
    return self.xos_model.objects.filter(**{'instance': instance, 'network': network})
def get_existing_objs(self):
    args = self.get_xos_args(throw_exception=False)
    instance = args.get('instance', None)
    network = args.get('network', None)
    if ((not instance) or (not network)):
        return []
    return self.xos_model.objects.filter(**{'instance': instance, 'network': network})