Check for undefined values