how to check if a word is in my dict code example Example: check if is dictionary isinstance(df, pd.DataFrame) isinstance(df, dict) isinstance(df, list)