Learned how to check whether a struct implements an interface.