avoid shadowing 'type' built-in in states.syslog_ng._is_all_element_has_type
Merge pull request #14147 from hulu/syslog-ng-type-shadowing

avoid shadowing 'type' built-in in states.syslog_ng