move persistence check into `meets_criteria`

fixes #2
Merge pull request #3 from jsatt/master

move persistence check into `meets_criteria`