def check_calendar(self, num_recent_meetings: int):
    """Check the calendar for scheduled meetings.

    This action checks the calendar to view and confirm meetings.

    Args:
        num_recent_meetings (int): The number of most recent meetings to check.
                                  Use a large number (e.g., 1000) to see all
                                  meetings.

    Returns:
        str: A description of the scheduled meetings.
    """
    if not self._meetings:
      output = 'No meetings scheduled.'
    else:
      meetings_to_check = self._meetings[-num_recent_meetings:]
      output = f'Scheduled meetings (showing last {num_recent_meetings}):\n'
      for meeting in meetings_to_check:
        output += (
            f"- Title: '{meeting.title}', Time: '{meeting.time}',"
            f" Participant: '{meeting.participant}'\n"
        )

    self._print(output)
    return output
Check the calendar for scheduled meetings.

    This action checks the calendar to view and confirm meetings.

    Args:
        num_recent_meetings (int): The number of most recent meetings to check.
                                  Use a large number (e.g., 1000) to see all
                                  meetings.

    Returns:
        str: A description of the scheduled meetings.
    
examples/deprecated/phone/components/apps.py