<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_profile(self, component):
 """ Gets given Component profile. Usage:: True <manager.components_manager.Profile object at 0x10258ef10> :param component: Component to get the profile. :type component: unicode :return: Component profile. :rtype: Profile """


        components = self.filter_components(r"^{0}$".format(component))
        if components != []:
            return self.__components[foundations.common.get_first_item(components)]