def METHOD_NAME(self, transformation):
    """Checks if this constraint is compatible with the given
    transformation. For example, the ``WordEmbeddingDistance`` constraint
    compares the embedding of the word inserted with that of the word
    deleted. Therefore it can only be applied in the case of word swaps,
    and not for transformations which involve only one of insertion or
    deletion.
    Args:
        transformation: The ``Transformation`` to check compatibility with.
    """
    return True