def _apply_filters(self, metadata):
    'Apply filters to metadata.\n\n        Args:\n            metadata (pylith.utils.SimulationMetadata)\n                Simulation metadata.\n        \n        Returns: (bool)\n            True if metadata meets filter requirements, False otherwise.\n        '
    if ('keywords' in self.filters):
        if (not metadata.keywords):
            return False
        if (not all(((keyword in metadata.keywords) for keyword in self.filters['keywords']))):
            return False
    if ('features' in self.filters):
        if (not metadata.features):
            return False
        if (not all(((feature in metadata.features) for feature in self.filters['features']))):
            return False
    if ('authors' in self.filters):
        if (not metadata.authors):
            return False
        if (not all(((author in metadata.authors) for author in self.filters['authors']))):
            return False
    if ('version' in self.filters):
        if (not metadata.pylith_version):
            return False
        for verMeta in metadata.pylith_version:
            if (not eval('{ver} {verMeta}'.format(ver=self.filters['version'], verMeta=verMeta))):
                return False
    return True
Apply filters to metadata.

Args:
    metadata (pylith.utils.SimulationMetadata)
        Simulation metadata.

Returns: (bool)
    True if metadata meets filter requirements, False otherwise.
def _apply_filters(self, metadata):
    'Apply filters to metadata.\n\n        Args:\n            metadata (pylith.utils.SimulationMetadata)\n                Simulation metadata.\n        \n        Returns: (bool)\n            True if metadata meets filter requirements, False otherwise.\n        '
    if ('keywords' in self.filters):
        if (not metadata.keywords):
            return False
        if (not all(((keyword in metadata.keywords) for keyword in self.filters['keywords']))):
            return False
    if ('features' in self.filters):
        if (not metadata.features):
            return False
        if (not all(((feature in metadata.features) for feature in self.filters['features']))):
            return False
    if ('authors' in self.filters):
        if (not metadata.authors):
            return False
        if (not all(((author in metadata.authors) for author in self.filters['authors']))):
            return False
    if ('version' in self.filters):
        if (not metadata.pylith_version):
            return False
        for verMeta in metadata.pylith_version:
            if (not eval('{ver} {verMeta}'.format(ver=self.filters['version'], verMeta=verMeta))):
                return False
    return True