This should be a 'private' method, thus at bottom of file and staring with _. Same for parse.

Also method naming is important. This method does more than just 'check', doesn't it?