Implement #valid?