it'd be good it we use https://github.com/rackspace-titan/qonos/blob/master/qonos/common/utils.py#L87 here