It's a bad idea to check ID. If you check and get it wrong it may conceivably be used against you. The law does not require you to check and you should never check. Simply refuse to sell if they plainly state they are a felon or not a state resident and sell with no questions in every other case.