Abstract the is_active test
Merge pull request #32 from colemanw/master

Abstract the is_active test