how can i check if logo exists in this array called $attachements print\_r is below:

> 
> Array (
>  [logo] => /home/richar2/public\_html/ioagh/images/stories/jreviews/20100510115659\_1\_img.gif
>  )
> 
> 
> 

when theres no logo, the array print\_r's

> 
> Array ( )
> 
> 
> 

i tried:
if (isset($attachments['logo']) ) {..}
but the conditional code runs when there is no logo