import six


def _contains(values, splitter):
    """Check presence of marker in values.

    Parameters
    ----------
    values: str, iterable
        Either a single value or a list of values.
    splitter: str
        The target to be searched for.

    Return
    ------
    boolean

    """

    if isinstance(values, six.string_types):
        values = (values,)

    try:
        if any([splitter in x for x in values]):
            return True
        return False
    except TypeError:
        return False