A smoke detector that is not working is worthless.
In face, it is worth than worthless because it may give one a false sense of security.
Check them out to be sure they are working.
(I'm just glad it was smoke from my cooking - and not a fire that tipped us off that the thing was not working.