Added 'partly' check to spec 'inside'