<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main_photo(self):
 """Return user's main photo."""

        if not self._main_photo:
            self._main_photo = self.photos_factory()
        return self._main_photo