Ok probobly a TOTAL n00b question

but I want a dialog option only available if a certian item is equiped to the pc. The current script i am using won't work? Here is my current script:
int StartingConditional()
{
object oPC = GetPCSpeaker();
if (GetItemPossessedBy(oPC, "unibelt") == OBJECT_INVALID) return FALSE;
return TRUE;
}
By the way thanks in advance everyone is so helpfull around here.

Edit: ps. This script is for kotor 1 don't really know if that matters