contains(...) fun definition is much shorter now