<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def partition(self):
 """For partition urltypes, return the partition specified by the ref """


        if self.urltype != 'partition':
            return None

        return self._bundle.library.partition(self.url)