PEP8 - boolean comparisons @ get_shares()

[PEP8 - Programming Recommendations](http://legacy.python.org/dev/peps/pep-0008/#programming-recommendations)