<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_array(self, key):

 """Return True if variable is a numpy array"""

        data = self.model.get_data()
        return isinstance(data[key], (ndarray, MaskedArray))