isAdoptable
Test whether a policy is adoptable according to the RuleSet (ignoring cost). Note: branch completion policies are automatic and therefore not adoptable in this test.
Return
true
if the policy can be adopted, false
if some rule prevents it (including when it's already adopted)
Parameters
policy
The Policy to check
checkEra
Include era test (with false the function returns whether the policy is adoptable now or in the future)
Sources
jvm source
Link copied to clipboard