<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def elements(self):
 """Return a list of the elements which are not None"""


        elements = []

        for el in ct:
            if isinstance(el[1], datapoint.Element.Element):
                elements.append(el[1])

        return elements