Can you check that `has` is definitely returning a boolean instead of just something falsy?