def contains(element):
    """
    Check to see if an argument contains a specified element.

    :param element: The element to check against.
    :return: A predicate to check if the argument is equal to the element.
    """
    def predicate(argument):
        try:
            return element in argument
        except:
            return False
    return predicate