System.Security.Permissions.PrincipalPermission.IsEmpty C# (CSharp) Method

IsEmpty() private method

private IsEmpty ( ) : bool
return bool
        private bool IsEmpty()
        {
            foreach (IDRole idRole in _idArray)
            {
                if (idRole.ID == null || idRole.ID.Length != 0 || idRole.Role == null || idRole.Role.Length != 0 || idRole.Authenticated)
                    return false;
            }
            return true;
        }