Added check function
Added check function
Merge pull request #1 from n0pe/master

Added check function