fixed "cnn.layer_exists()"