Checks if this node has the specified config.
bool hasConfig(String name) => configs.containsKey(name.startsWith(r'$') ? name : '\$' + name);