def test_is_yaml(self):
        res = Check("hello").is_yaml()
        self.assertIsInstance(res, Check)
        try:
            Check(123).is_yaml()
            self.fail()
        except CheckError:
            pass