How to Write a Go Function That Returns True If It Finds One Item (String, Integer, etc.) in a Slice of Items
A very common programming problem that arises in most languages is a simple function that returns true
if an input item is present in an array (or dictionary or slice or a variety of other terms) of items and false
if it is not.