@staticmethod
    def _metadata_is_invalid(fact):
        """Determines if the fact is not well formed.

        """
        return any(isinstance(token, URIRef) and ' ' in token for token in fact)
dataset/ETHPy150Open c-w/Gutenberg/gutenberg/acquire/metadata.py/MetadataCache._metadata_is_invalid/original