[Util] Fix bug in A.isEnabled().