def find_instance_in_args(obj, args):
    """find instance of given object type args.

    Args:
        obj(type): type of object to look for.
        args(iterable): arguments to search for the given object type.

    Returns:
        obj. instance of the obj type that found in args.

    """
    return next(filter(lambda arg: isinstance(arg, obj), args))