I don't think we're using the result of get_file, so it would be more readable if it were `is_file(obj.key, key)`, which tells you whether the object is a file or not.