check if defined