public static Boolean SupportsCastFrom(this Type from, Object instance) { var to = instance.GetType(); return IsCastableTo(from, to); }