public static bool IsOfType <T>(this object obj, bool throwError = false) { return(ValidationTarget <T> .IsOfType(obj, throwError)); }