def METHOD_NAME(self, processors):
    # ALL cpuinfo elements should comply with these checks.
    self.assertIsNotNone(processors)
    # Look at only the first processor
    processor = processors[0]
    # Check we have all required attributes and they are not empty
    for attr in self.cpu_attributes:
        self.assertIn(attr, processor.keys())
        self.assertTrue(processor[attr] is not None and
                        processor[attr] != "", "{} is empty".format(attr))
    # Check speed is an integer
    self.assertIsInstance(processor['speed'], int)