Exif data for camera flash?

Wow is the exif standard complex. All I'm trying to determine is "was the flash used in this picture." The flash tag that's in the exif data is pretty complex and has a lot of variations. I'm not entirely sure but I think all you need is the first bit of that data. If that bit is set then the flash fired, otherwise it didn't.

$flash_fired = $exif['Flash'] & 1;


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.138.113.188
To prevent spam please submit by clicking the kitten: