def is_config_var(var):
return (<EOL>isinstance(var, (attr._make.Attribute, attr._make._CountingAttr))<EOL>and hasattr(var, "<STR_LIT>")<EOL>and CONFIG_KEY in var.metadata<EOL>)<EOL>
Checks if the given value is a valid ``file_config.var``.

    :param var: The value to check
    :return: True if the given value is a var, otherwise False
    :rtype: bool