isNameValid

Return

true if name is valid, false otherwise