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

def summary(self):

    if (not self):
        return u''
    s = (u'Character\n=====\nName:    %s\n' % self.get('name', u''))
    bio = self.get('biography')
    if bio:
        s += (u'Biography:    %s\n' % bio[0])
    filmo = self.get('filmography')
    if filmo:
        a_list = [x.get('long    imdb    canonical    title', u'') for x in filmo[:5]]
        s += (u'Last    movies    with    this    character:    %s.\n' % u';    '.join(a_list))
    return s
