def rule(event):
    if all(
        [
            event.deep_get("Description", default="") == "Python Core",
            not any(
                [
                    "Python" in event.deep_get("Image", default=""),
                    any(
                        [
                            event.deep_get("Image", default="").startswith("C:\\Program Files\\"),
                            event.deep_get("Image", default="").startswith(
                                "C:\\Program Files (x86)\\"
                            ),
                            event.deep_get("Image", default="").startswith(
                                "C:\\ProgramData\\Anaconda3\\"
                            ),
                        ]
                    ),
                ]
            ),
            not event.deep_get("Image", default="") == "",
        ]
    ):
        return True
    return False
