Make Queue.HasQueue() more simple