Another pretty usage of SELECT directly in IF:

 

IF (SELECT count(*) FROM table WHERE column IS NULL)>0 THEN
...
END IF