is Password Valid

fun isPasswordValid(password: String?): Boolean

Method to validate a password

Return

whether the password is valid or not as boolean

Parameters

password

: password value to check the validity