modin/pandas/series.py
def hasnans(self):  # noqa: RT01, D200
        """
        Return True if Series has any nans.
        """
        return self.isna().sum() > 0

        Return True if Series has any nans.
        
Return True if Series has any nans.
Return True if Series has any nans .
def hasnans(self):  
        return self.isna().sum() > 0
def hasnans ( self ) : return self . isna ( ) . sum ( ) > 0
Return True if Series has any nans.
Return True if Series has any nans .
# noqa: RT01, D200 """
        Return True if Series has any nans.
        """
self