Cmake Check If String Variable Python Definition