is Name Valid

fun isNameValid(name: String?): Boolean

Method to validate a name

Return

whether the name is valid or not as boolean

Parameters

name

: name value to check the validity