<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_escalation_policy(self, escalation_policy, **kwargs):
 """Remove an escalation policy from this team."""

        if isinstance(escalation_policy, Entity):
            escalation_policy = escalation_policy['id']

        assert isinstance(escalation_policy, six.string_types)

        endpoint = '{0}/{1}/escalation_policies/{2}'.format(
            self.endpoint,
            self['id'],
            escalation_policy,
        )

        return self.request('DELETE', endpoint=endpoint, query_params=kwargs)