@staticmethod
def instantiate(features):
    """Convert the argument into a set."""
    if isinstance(features, set):
        return features
    elif not features:
        return set()
    else:
        return set(features)
