Add the "has" function. Closes #74.