tail Is Valid

fun tailIsValid(tail: String?): Boolean

Method to validate a tail

Return

whether the tail is valid or not as boolean

Parameters

tail

The tail value to check the validity