<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_element(self, refobj):
 """Return the element the refobj represents. The element is either an Asset or a Shot. :param refobj: the refobject to query :type refobj: refobj :returns: The element the reftrack represents :rtype: :class:`jukeboxcore.djadapter.models.Asset` | :class:`jukeboxcore.djadapter.models.Shot` :raises: None """

        tf = self.get_taskfile(refobj)
        return tf.task.element