It's a good idea and now I want this too
Of course, this won't stop an experienced hacker, but will probably make his life a bit harder.
Especially if you obfuscate this check and put it in some obscure place. Say, instead of performing it on startup, start a random timer (for 1-3 minutes) and then check.