Python Check If Dataframe Is Not Callable