@staticmethod
def _convert(hypothesis):
    """Convert hypothesis to a 'frozenset' in order to make it hashable."""
    if isinstance(hypothesis, frozenset):
        return hypothesis
    else:
        return frozenset(hypothesis)
