check pin nullability