Check integrity of access_flags.