/// <summary> /// Check if object is instance of ISession type. /// </summary> /// <param name="inspectedObject">Object for inspection.</param> /// <returns>Return true, if object is ISession, otherwise false.</returns> public static bool IsSessionObject(object inspectedObject) { return(SessionType.IsInstanceOfType(inspectedObject)); }