That picture is the folding wing of a Lockheed S-3 Viking.
Indeed it is.
I guess what that has in common with the 777 is that both are/were folding wings built by companies that didn't know how to design one (Lockheed subcontracted theirs to LTV, who came up with a very neat offset-hinge design so that the folded wings would overlap).