def a_name(text):
	"""Test if a common first name.
	>>> a_name("John")
	True
	"""
	text = text.upper()
	if text[1] == '.': # e.g., H. G. Wells
		return True
	if text in NAMES:
		return True
	return False
Test if a common first name.
	>>> a_name("John")
	True
	
recipes/Python/577179_Create_book_index/recipe-577179.py