<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_removes(self, profile=None):
 """Get filtered list of Remove objects in this Feature :param str profile: Return Remove objects with this profile or None to return all Remove objects. :return: list of Remove objects """

        out = []
        for rem in self.removes:
            # Filter Remove by profile
            if ((rem.profile and not profile) or
               (rem.profile and profile and rem.profile != profile)):
                continue
            out.append(rem)
        return out