<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_codomain(self, key):
 """ RETURN AN ARRAY OF OBJECTS THAT key MAPS TO """

        return [v for k, v in self.all if k == key]