Detecting black frames in a project

Is there any way to automatically detect completely black frames in a project? When I am giving back the material to my tv station, black frames are regarded as an error. Sometimes it happens when you inattentively leave gaps between events.