isAmSane returns a non zero value if any errors are detected, with bits set as may be discovered by inspecting the debug output or the source code.
if the return value is zero then no errors were detected.
this routine simply checks that the library was compiled with a relatively sane combination of flags and settings.