def METHOD_NAME(self):
    snippet = self.code_snippet or ""
    return bool(
        [
            not line.startswith("#")
            for line in (snippet.splitlines())
            if line.strip("")
        ]
    )