if (pItem->free) Py_RETURN_FALSE;
static PyObject* wpItem_additem( wpItem* self, PyObject* args ){	if ( !self->pItem || self->pItem->free )		Py_RETURN_FALSE;	if ( !checkArgItem( 0 ) )	{		PyErr_BadArgument();		return 0;	}	P_ITEM pItem = getArgItem( 0 );	// Secondary Parameters	bool randomPos = true;	bool handleWeight = true;	bool autoStack = true;	if ( checkArgInt( 1 ) )		randomPos = getArgInt( 1 ) != 0;	if ( checkArgInt( 2 ) )		handleWeight = getArgInt( 2 ) != 0;	if ( checkArgInt( 3 ) )		autoStack = getArgInt( 3 ) != 0;	self->pItem->addItem( pItem, randomPos, handleWeight, false, autoStack );	Py_RETURN_NONE;}