Is there a way I can make a shape show black unless there is album art showing?

I'm trying to make a shape show as black, unless there is album art, in which case I want the shape to be transparent.

I think this can work in the color of the shape

$if(mi(cover)="",ff000000,00ffffff)$