And if you're back in the file, the comment about is_atom being redundant applies to the validate function too.