`%in%` and `match` are not generics in base R, however we can define it in the way similar to [BiocGenerics](https://github.com/Bioconductor/BiocGenerics/blob/f9ccb72e68aa801c719c33545f9fb14a5be39ed2/R/match.R) that dispatch on `x` and `table`.