<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_value(self, element):
 """ | Returns the given element value. | If multiple elements with the same name exists, only the first encountered will be returned. Usage:: True u'My Value A' :param element: Element to get the value. :type element: unicode :return: Element value. :rtype: object """


        if not self.__elements:
            return

        values = self.filter_values(r"^{0}$".format(element))
        return foundations.common.get_first_item(values)