module/Application/src/Application/Service/GoogleService.php
/**
     * check for google oauth2 (stored) status
     * @return boolean
     */
check for google oauth2 (stored) status
@return boolean
check for google oauth2 ( stored ) status @return boolean
public function hasGoogle() {
        if (!$this->getUser()->getGoogleEnabled()) {
            return false;
        }
        if (empty($this->getUser()->getToken_refresh())) {
            return false;
        }
        if (empty($this->getUser()->getToken_access())) {
            return false;
        }
        return true;
    }
public function hasGoogle ( ) { if ( ! $ this -> getUser ( ) -> getGoogleEnabled ( ) ) { return false ; } if ( empty ( $ this -> getUser ( ) -> getToken_refresh ( ) ) ) { return false ; } if ( empty ( $ this -> getUser ( ) -> getToken_access ( ) ) ) { return false ; } return true ; }
check for google oauth2 (stored) status
 @return boolean
check for google oauth2 ( stored ) status @return boolean