Cleanup

Change ternary operator to not operator.
Merge pull request #17 from kgarrison343/master

Simplified return statement for integrityCheck method