Can you instead put a ``general = None`` further up the top and check for ``general is None``?