Consider this function

```
def is_bigger_than_one(number):
if number > 1:
return True
else:
return False
```

I wanna know what’s the most Pythonic way to annotate it.

Is it

```
def is_bigger_than_one(number: int) -> bool:
if number > 1:
return True
else:
return False
```

or is it

```
def is_bigger_than_one(number: int) -> True | False:
if number > 1:
return True
else:
return False
```

?