/**
  * The default value of the priority field depends on the depth of the page in
  * the site tree, so it must be calculated dynamically.
  *
  * @return mixed
  */
 public function getGooglePriority()
 {
     $field = $this->owner->hasField('Priority');
     if (isset($this->Priority) || $field && ($this->Priority = $this->owner->getField('Priority'))) {
         return $this->Priority < 0 ? false : $this->Priority;
     }
     return GoogleSitemap::get_priority_for_class($this->owner->class);
 }