'Check if the node is currently error limited.
:param node: dictionary of node to check
:returns: True if error limited, False otherwise'

def error_limited(self, node):

    now = time()
    node_key = self._error_limit_node_key(node)
    error_stats = self._error_limiting.get(node_key)
    if ((error_stats is None) or ('errors' not in error_stats)):
        return False
    if (('last_error' in error_stats) and (error_stats['last_error'] < (now - self.error_suppression_interval))):
        self._error_limiting.pop(node_key, None)
        return False
    limited = (error_stats['errors'] > self.error_suppression_limit)
    if limited:
        self.logger.debug(_('Node    error    limited    %(ip)s:%(port)s    (%(device)s)'), node)
    return limited
