Check for undefined value