public function isAuthenticated()
	{
		$token = $this->getToken();

		if (!$token || !array_key_exists('access_token', $token))
		{
			return false;
		}
		elseif (array_key_exists('expires_in', $token) && $token['created'] + $token['expires_in'] < time() + 20)
		{
			return false;
		}
		else
		{
			return true;
		}
	}
public function isAuthenticated()
	{
		$token = $this->getToken();

		if (!$token || !array_key_exists('access_token', $token))
		{
			return false;
		}
		elseif (array_key_exists('expires_in', $token) && $token['created'] + $token['expires_in'] < time() + 20)
		{
			return false;
		}
		else
		{
			return true;
		}
	}
public function isAuthenticated ( ) { $ token = $ this -> getToken ( ) ; if ( ! $ token || ! array_key_exists ( 'access_token' , $ token ) ) { return false ; } elseif ( array_key_exists ( 'expires_in' , $ token ) && $ token [ 'created' ] + $ token [ 'expires_in' ] < time ( ) + 20 ) { return false ; } else { return true ; } }
Verify if the client has been authenticated

@return  boolean  Is authenticated

@since   1.0
Verify if the client has been authenticated