'Check the argument sent to the jQuery html() function to check if it is
safe.
Safe arguments to html():
- no argument (i.e. getter rather than setter)
- empty string is safe
- the argument can be a call to HtmlUtils.xxx(html).toString()
Arguments:
argument: The argument sent to html() in code (i.e. html(argument)).
Returns:
True if the argument is safe, and False otherwise.'

def _is_jquery_html_argument_safe(self, argument):

    if ((argument == '') or (argument == "''") or (argument == '""')):
        return True
    elif self._is_jquery_argument_safe_html_utils_call(argument):
        return True
    return False
