def is_message_author(user, message):
    """Whether or not the user created the message"""
    if not message or not message.author:
        return False
    else:
        return message.author == user