def fn_get_mask(self, value):
value = self._to_ndarray(value)<EOL>if numpy.ma.is_masked(value):<EOL><INDENT>return value.mask<EOL><DEDENT>else:<EOL><INDENT>return numpy.zeros(value.shape).astype(bool)<EOL><DEDENT>
Return an array mask.

:param value: The array.
:return: The array mask.