Add the inverse of this check and throw an error instead.