Python sprawdź, czy zmienna jest pandaadataframe

import pandas as pd
.....
.....
ifDataframe = isinstance(var, pd.DataFrame)
Purple Team