for those who have the same problem some time, i've found the solution after reading some specs... my function does not completely analyze the gif source, so there is a (very small) chance, that a animated gif isn't recognized correctly.
/**
* Function isAnimatedGif.
*/
function isAnimatedGif( $file )
{
$isAniGif = false;
$gif = Util::getFileAsString( $file );
$header = strtolower( substr($gif, 0, 6) );
if( $header == 'gif89a' &&
(stristr($gif, 'netscape2.0') || stristr($gif, 'animexts1.0')) )
$isAniGif = true;
return $isAniGif;
}