assert_terms function

Asserts Requirements for Terms for Queries