    

 ## On this page

  

 

 # isValid

 Last update: 30.07.2026 

public [isValid](is-valid.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

checks to see if a variable value is valid or not

#### Return

true or false

#### Parameters

namethe variable to get the value forrunthe run to get the value for (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [isValid](is-valid.md)(index: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

checks to see if a variable value is valid or not

#### Return

true or false

#### Parameters

indexthe variable to get the value for (0-based index)runthe run to get the value for (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)