import re


def has_problem_form(word):
    """
    has_problem_form()

    Purpose: Checks if the word has problem form.

    @param word. A string
    @return      the matched object if it has problem form, otheriwse None.

    >>> has_problem_form('prognosis') is not None
    True
    >>> has_problem_form('diagnosis') is not None
    True
    >>> has_problem_form('diagnostic') is not None
    True
    >>> has_problem_form('arachnophobic') is not None
    True
    >>> has_problem_form('test') is not None
    False
    >>> has_problem_form('ice') is not None
    False
    """
    regex = r".*(ic|is)$"
    return re.search(regex, word)