Check null condition