Use get function to find scope of a variable