<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getMaskArray(self, signature):
 """ Returns the appropriate StaticMask array for the image. """

        if signature in self.masklist:
            mask =  self.masklist[signature]
        else:
            mask = None
        return mask