Add list intersect test

Signed-off-by: Casey Dahlin <casey.dahlin@gmail.com>
Rework check_represented_in for order 2 values

The previous method could result in infinite recursion, and was inaccurate.

Signed-off-by: Casey Dahlin <casey.dahlin@gmail.com>