checks if undifined