Simplify expression.

It returns the same result like this. (Reannoate as return `boolean`
because `Boolean` implies an instance whereas `boolean` implies a
primitive, which is the case here.)
Merge pull request #2 from ryanve/patch-1

Simplify expression and tweak annotation.