def is_jinja_expression(value):
    """
    Function which very simplisticly detect if the provided value contains or is a Jinja
    expression.
    """
    if not value or not isinstance(value, six.string_types):
        return False

    for marker in JINJA_EXPRESSIONS_START_MARKERS:
        if marker in value:
            return True

    return False

    Function which very simplisticly detect if the provided value contains or is a Jinja
    expression.
    
st2common/st2common/util/jinja.py