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

@property
def needs_media_data(self):

    for key in self.match_patterns:
        fields = self.parse_match_fields_key(key)['fields']
        if all((field.startswith('media_') for field in fields)):
            return True
    potential_placeholders = [self.action_reason]
    if self.set_flair:
        potential_placeholders.extend(self.set_flair.values())
    if any(((text and ('{{media_' in text)) for text in potential_placeholders)):
        return True
    return False
