'Whether the rule requires data from the media embed.'

@property
def needs_media_data(self):

    for attr in ('comment', 'modmail', 'message'):
        text = getattr(self, attr, None)
        if (text and ('{{media_' in text)):
            return True
    if any((comp.needs_media_data for comp in self.targets.values())):
        return True
    return False
