This inspection warns about redundant parts inside boolean function.

Inspired by "Ruby Style Guide"