Checks whether a given CacheKey is in the specified partition.
The type of the partition attribute object to check against.
The type of the cache partition attributes of the key.
The key to check.
The cache partition attributes.
true if the key has the specified attributes, i.e. is in the partition; false otherwise.
Checks whether a given CacheKey is in the specified partition.