def find(question, cur):
    """
    Finds a corresponding answer for the input question.

    Args:
        question: input question row
        cur: database cursor

    Returns:
        Answer row if found, None otherwise
    """

    # Query for accepted answer
    cur.execute("SELECT Body, OwnerUserId, OwnerDisplayName from answers where Id = ?", [question[1]])
    answer = cur.fetchone()

    if answer and answer[0]:
        # Check if answer has a message body
        return answer

    return None