mixpanel: swap to using ianstormtaylor/is for type checking