/**
  * Returns whether or not the user is logged in.
  *
  * @return boolean
  */
 public static function isLoggedIn()
 {
     return Session::hasKeyValue('access_token');
 }