code: def has_value_of_type(self, var_type):
          
          if self.has_value() and self.has_type(var_type):
              return True
          return False
docs: Does the variable both have the given type and
          have a variable value we can use?