IsObjectPresent(
		TPMI_DH_OBJECT   handle         // IN: handle to be checked
		)
{
    UINT32          slotIndex = handle - TRANSIENT_FIRST;
    // Since the handle is just an index into the array that is zero based, any
    // handle value outsize of the range of:
    //    TRANSIENT_FIRST -- (TRANSIENT_FIRST + MAX_LOADED_OBJECT - 1)
    // will now be greater than or equal to MAX_LOADED_OBJECTS
    if(slotIndex >= MAX_LOADED_OBJECTS)
	return FALSE;
    // Indicate if the slot is occupied
    return (s_objects[slotIndex].attributes.occupied == TRUE);
}
IsObjectPresent(
		TPMI_DH_OBJECT   handle          
		)
{
    UINT32          slotIndex = handle - TRANSIENT_FIRST;
     
     
     
     
    if(slotIndex >= MAX_LOADED_OBJECTS)
	return FALSE;
     
    return (s_objects[slotIndex].attributes.occupied == TRUE);
}