Return True if there are any NaNs.
Enables various performance speedups.
pandas.Index.has_duplicates
pandas.Index.inferred_type