check for defined