public static bool Is <T>(this ContentItem item) { return(item == null ? false : typeof(T) == item.GetType()); }