Maybe you can suggest better solution for check on Nullable type?