Add Boolean return type for RTTI detection