Could this just be ``return getattr(presentation.proposal, 'max_attendees', 'N/A')`` ?