/**
  * Sets the loaded::$user property from the authenticate object if not already set.
  *
  * Calls the ::$authenticate object's ::getUser() method to fetch the
  * User using the available Request information.
  *
  * @return bool True if a user can be found, false if one cannot.
  */
 protected function getUser()
 {
     $user = $this->user();
     if ($user) {
         return true;
     }
     $result = $this->authenticateObject->getUser($this->request);
     if (!empty($result) && is_array($result)) {
         $this->user = $result;
         return true;
     }
     return false;
 }