<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _check_dynamic_acl_support(self):
 """Log an error if any switches don't support dynamic ACLs"""

        cmds = ['ip access-list openstack-test dynamic',
                'no ip access-list openstack-test']
        for switch_ip, switch_client in self._switches.items():
            try:
                self.run_openstack_sg_cmds(cmds)
            except Exception:
                LOG.error("Switch %s does not support dynamic ACLs. SG "
                          "support will not be enabled on this switch.",
                          switch_ip)