Python Check If None Or Empty