Function isExpecting