Check for existence of encoding attribute