type hint boolean instead of bool