Detecting if array slot is empty

I have an array created from a query. There is an option note field that I want to check for. If it is empty, or has a length of 0 then I dont want to show this image. if it is not empty I want to show the image. I know the logic just not the php to accomplish it. Can someone help:)