<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pprint(self, initials_only=False):
 """Pretty print the name. Args: initials_only (bool):
 ``True`` if we want the first names to be displayed with only the initial followed by a dot. ``False`` otherwise. Examples: u'Stanley Martin Lieber' u'S. M. Lieber' u'R. Downey Jr.' """

        last_name = self.last
        suffixes = ', ' + self.suffix if self.suffix else ''

        if initials_only and last_name != u'':
            first_names = self.first_initials
        else:
            first_names = self.first

        return u'{} {}{}'.format(first_names, last_name, suffixes).strip()