@staticmethod
def _split_actionsneeds(needs):
    """Split needs into sets of ActionNeed and any other *Need."""
    action_needs, other_needs = set(), set()
    for need in needs:
        if need.method == 'action':
            action_needs.add(need)
        else:
            other_needs.add(need)
    return action_needs, other_needs
