Return a boolean array set True where first element is in second array.
Boolean array is the shape of ar1 containing True where the elements of ar1 are in ar2 and False otherwise.
Use unique1d() to generate arrays with only unique elements to use as inputs to this function.
ar1 : array_like
ar2 : array_like
mask : ndarray, bool