is defined check