def is_quick_button(messaging_event):
    if 'message' not in messaging_event:
        return False
    if 'quick_reply' not in messaging_event['message']:
        return False
    return True


def is_talk_ask_command(messaging_event):
    if 'postback' not in messaging_event:
        return False
    return 'ask talk' in messaging_event['postback']['payload']


def is_talk_info_command(messaging_event):
    if 'postback' not in messaging_event:
        return False
    return 'info talk' in messaging_event['postback']['payload']


def is_talk_rate_command(messaging_event):
    if 'postback' not in messaging_event:
        return False
    return 'rate talk' in messaging_event['postback']['payload']


def is_talk_like_command(messaging_event):
    if 'postback' not in messaging_event:
        return False
    return 'like talk' in messaging_event['postback']['payload']


def has_sender_id(messaging_event):
    return 'sender' in messaging_event and 'id' in messaging_event['sender']

@@ -755,34 +755,36 @@
 %0A    if 
-'postback' not in 
+not is_quick_button(
 messagin
@@ -782,32 +782,33 @@
 (messaging_event
+)
 :%0A        return
@@ -853,32 +853,46 @@
 ging_event%5B'
-postback
+message'%5D%5B'quick_reply
 '%5D%5B'payload'

Fix bug in like validator