import re


def rule(event):
    if any(
        [
            ".paste.ee/r/" in event.deep_get("c-uri", default=""),
            ".pastebin.com/raw/" in event.deep_get("c-uri", default=""),
            ".hastebin.com/raw/" in event.deep_get("c-uri", default=""),
            re.match(r"^.*.ghostbin.co/paste/.*/raw/.*$", event.deep_get("c-uri", default="")),
            "pastetext.net/" in event.deep_get("c-uri", default=""),
            "pastebin.pl/" in event.deep_get("c-uri", default=""),
            "paste.ee/" in event.deep_get("c-uri", default=""),
        ]
    ):
        return True
    return False
