Check for null function