def is_it_animated_sticker(message):
    try:
        if (message.media and message.media.document):
            mime_type = message.media.document.mime_type
            if ('tgsticker' in mime_type):
                return True
            else:
                return False
        else:
            return False
    except:
        return False
def is_it_animated_sticker(message):
    try:
        if (message.media and message.media.document):
            mime_type = message.media.document.mime_type
            if ('tgsticker' in mime_type):
                return True
            else:
                return False
        else:
            return False
    except:
        return False