(m)
return hasattr(m, "filled") or hasattr(m[0], "filled")
Converts a masked array or a list of masked arrays to filled numpy arrays

    Parameters
    ----------
    m : a map (may be a sequence of maps)

    Returns
    -------
    is_ma : bool
        whether the input map was a ma or not
Converts a masked array or a list of masked arrays to filled numpy arrays
Converts a masked array or a list of masked arrays to filled numpy arrays
def is_ma(m):
    """Converts a masked array or a list of masked arrays to filled numpy arrays

    Parameters
    ----------
    m : a map (may be a sequence of maps)

    Returns
    -------
    is_ma : bool
        whether the input map was a ma or not
    """
    return hasattr(m, "filled") or hasattr(m[0], "filled")
def is_ma ( m ) : return hasattr ( m , "filled" ) or hasattr ( m [ 0 ] , "filled" )