diff --git a/Advanced Software Engineering/Advanced Software Engineering/Drawer.cs b/Advanced Software Engineering/Advanced Software Engineering/Drawer.cs index 5bfbde0..d882dbe 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Drawer.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Drawer.cs @@ -196,5 +196,9 @@ namespace Advanced_Software_Engineering { public IValue GetVariable(string name) { return variables[name]; } + + public bool CheckVariableExists(string name) { + return variables.ContainsKey(name); + } } } \ No newline at end of file