Similar check is done in https://github.com/rackerlabs/otter/blob/master/otter/worker/validate_config.py#L175 Was thinking if function can be generalized to be used in both places.