to test for a specific column value use:
$yourCartName->ConditionalTotal("Quantity", "ProductCategoryReqFlag", "1")
where "yourCartName" is the name of your ecart object.
this will return the Quantity of items in the cart where the ProductCategoryReqFlag column has a value of 1.