Add an isCacheableByBranch() to the PredicateCache

Add an API to determine if a Predicate's output is assumed to be
constant given any Change destined for the same Branch.NameKey.

Change-Id: I32b52fe04742a344e71a4eee9bc2b69133d112ff
2 files changed