format an if statement to check if a game event is active

I’m wondering how to format an if statement to check if a game event is active (in this case 75)

so like:
if (whatever the gamevent 75 is active hook is)
player->additem(454, 1);

#include "GameEventMgr.h"

if (sGameEventMgr->IsActiveEvent(75))
    player->additem(454, 1);