How is it possible for a module to detect when Drupal is outputting the "access denied" page?