provides the in operator as a replacement for smartmatch