'Return a string with a pretty-printed summary for the company.'

def summary(self):

    if (not self):
        return u''
    s = (u'Company\n=======\nName:    %s\n' % self.get('name', u''))
    for k in ('distributor', 'production    company', 'miscellaneous    company', 'special    effects    company'):
        d = self.get(k, [])[:5]
        if (not d):
            continue
        s += (u'Last    movies    from    this    company    (%s):    %s.\n' % (k, u';    '.join([x.get('long    imdb    title', u'') for x in d])))
    return s
