Merge pull request #1 from murrekatt/master

Simplified function to return bool.