added real contains semantics
1
updated has_fields docs
added contains documentation
added keys
contains_term_t optimization
code review
added arity tests, made things work in Python and JS