Identifies if a level id is valid. 
   Namespace:   Autodesk.Revit.DB.Electrical  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- document
-  Type:  Autodesk.Revit.DB Document  
 The document.
- levelId
-  Type:  Autodesk.Revit.DB ElementId  
 The level id.
Return Value
True if the level id is valid, false otherwise.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |