public static function isKssBlock($comment)
    {
        $commentLines = explode("\n\n", $comment);
        $lastLine = end($commentLines);
        return preg_match('/^\s*Styleguide \w/i', $lastLine) ||
            preg_match('/^\s*No styleguide reference/i', $lastLine);
    }