Python Check Empty Dataframe In Python Definition