Returns true if this struct either is SomeBase, or is a child of SomeBase. This will not crash on null structsReturns true if this struct either is class T, or is a child of class T. This will not crash on null structs