I'd rather not add such helper functions. More pythonic would be:

    data = some_function()
    first_element = data[0] if data else None