Add basic support for 'check_atom' function