<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def link(self, rel):
 """Look for link with specified rel, return else None."""

        for link in self.ln:
            if ('rel' in link and
                    link['rel'] == rel):
                return(link)
        return(None)