Revert "Fix to return correct value instead of boolean from acl_check()."