make _.has and _.match more consistent