I think `check` is confusing name cause I expected it would just check if mode matched a given value.