allowed check function, fixes #1
0.1.0