'Find the Zendesk group named `name`. Groups are cached for
CACHE_TIMEOUT seconds.
If a matching group exists, it is returned as a dictionary
with the format specifed by the zendesk package.
Otherwise, returns None.'

def get_group(self, name):

    cache = caches['default']
    cache_key = '{prefix}_group_{name}'.format(prefix=self.CACHE_PREFIX, name=name)
    cached = cache.get(cache_key)
    if cached:
        return cached
    groups = self._zendesk_instance.list_groups()['groups']
    for group in groups:
        if (group['name'] == name):
            cache.set(cache_key, group, self.CACHE_TIMEOUT)
            return group
    return None
