code: public function getOptions()
      {
          if ($this->owner->ContentReviewType == "Custom") {
              return $this->owner;
          }
  
          if ($this->owner->ContentReviewType == "Disabled") {
              return false;
          }
  
          $page = $this->owner;
  
          // $page is inheriting it's settings from it's parent, find
          // the first valid parent with a valid setting
          while ($parent = $page->Parent()) {
              // Root page, use site config
              if (!$parent->exists()) {
                  return SiteConfig::current_site_config();
              }
  
              if ($parent->ContentReviewType == "Custom") {
                  return $parent;
              }
  
              if ($parent->ContentReviewType == "Disabled") {
                  return false;
              }
  
              $page = $parent;
          }
  
          throw new Exception("This shouldn't really happen, as per usual developer logic.");
      }
docs: Get the object that have the information about the content review settings. Either:
  
  - a SiteTreeContentReview decorated object
  - the default SiteTree config
  - false if this page have it's content review disabled
  
  Will go through parents and root pages will use the site config if their setting is Inherit.
  
  @return bool|DataObject
  
  @throws Exception