Check if a value exists in pandas dataframe index,'g' in df.index