GetAndCheck library for TrinityCore