This method has two variants.
bool isInInventory(CBlob@ blob)
The second variant looks for CBlobs with the given name in this inventory, counts them up and returns true if there are at least as many as the number specified by the quantity argument, otherwise false.
bool isInInventory(const string &blobName, int quantity)
Object method of: CInventory