'Validate that the IP address on the subnet is not in use.'

def check_unique_allocation(self, context, ip_address):

    return (not ipam_objs.IpamAllocation.objects_exist(context, ipam_subnet_id=self._ipam_subnet_id, status=const.IPAM_ALLOCATION_STATUS_ALLOCATED, ip_address=ip_address))
