Version: 2017.3
public bool IsValid ();

Returns

bool Whether this is a valid scene.

Description

Whether this is a valid scene. A scene may be invalid if, for example, you tried to open a scene that does not exist. In this case, the scene returned from EditorSceneManager.OpenScene would return False for IsValid.