R Check If Variable Exists In Environment