Attach/Detach static mesh component to/from socket

Is the mesh the root component in the weapon BP?