<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def defa(self, pattern):
 """ Define the indefinate article as 'a' for words matching pattern. """

        self.checkpat(pattern)
        self.A_a_user_defined.extend((pattern, "a"))
        return 1