Documentation and tests.
Some docs and move isEnabled up, since it's just a flavor of
getValueAsBoolean.