Walnut Creek is a typical, medium-sized suburban city on the western edge of Mount Diablo, about 17 miles (25 km) east of Oakland in Contra Costa County. After being part of a Spanish land grant comprising several ranch