check_and_add
Method
This is a method of the SessionDeduplicationCache class in the manager module.Check if content hash exists and add if new.
Signature
Parameters
Hash of the content
Name of the agent adding this content
Estimated tokens in this content
Returns
True if duplicate (already exists), False if new

