def instance_of(cls):
    """
    Check to see if the argument is an instance of the specified class element.

    :param cls: The element to use to check inheritance of the argument.
    :return: A predicate to check if the argument an instance of the element.
    """
    def predicate(argument):
        return isinstance(argument, cls)
    return predicate