@cache_readonly
    def hasnans(self):
        if self._can_hold_na:
            return self._isnan.any()
        else:
            return False
return if I have any nans; enables various perf speedups
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.hasnans