/// <summary> /// Determines whether the card is locked and ifso returns by which user /// </summary> /// <param name="user">The user.</param> /// <returns> /// <c>true</c> if the specified card is locked; otherwise, <c>false</c>. /// </returns> public bool IsLocked(out IUser user) { user = null; if (_cardHandler.Card != null) { ITvCardContext context = _cardHandler.Card.Context as ITvCardContext; context.IsLocked(out user); return(user != null); } return(false); }