The pythonic way to check for an empty sequence would be `if not presentation.title:`