tail
Is
Valid
Method to validate a tail
Return
whether the tail is valid or not as boolean
Parameters
tail
The tail value to check the validity