def verify_yaml(filename):
    try:
        with open(filename) as yamlfile:
            yaml.load(yamlfile.read())
        return True
    except yaml.error.YAMLError:
        return False
Assemble the `self.parts` dictionary.  Extend in subclasses.
dataset/ETHPy150Open gosquadron/squadron/squadron/autotest.py/verify_yaml--crossover with--dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/python3/docutils/writers/odf_odt/__init__.py/Writer.assemble_my_parts