Check for variable definition