const declaration

Hello again,

How do I recognize that a declaration like:

const int NDIM = 3;

is indeed a constant name definition? Apparently the Sage parses this
as a declaration whose symbol has variant VARIABLE_NAME and not CONST_NAME.
I see no function at the statement level like, isExtern, that could give
this information.

Thanks once again for any help