Contains with multiple keys.