Added a basic, untested "has" implementation.