Made hasAddressBookAccess: public to allow client code to know whether the user has given access.