/**
     * @param eZContentObjectTreeNode $node
     * @param integer $mediaCase
     * @return boolean
     */
    public static function hasImageArticle($node, $mediaCase)
    {
        // Way to know if an image exists for the article via solr
        if ($node == null) {
            return false;
        }
        $params = array(
            'MediaCase'       => $mediaCase,
            'ArticleObjectId' => $node->attribute('contentobject_id'),
            'ArticleLanguage' => $node->currentLanguage(),
            'Alias'           => false,
        );

        try
        {
            $imageHandler = new ImageArticleTool($params);
        }
        catch ( Exception $e )
        {
            return false;
        }

        return $imageHandler->hasImage();
    }