Check if geometry is not null