added is0 method to check if all coords are 0. special case that can sometimes happen when returning from a qvariant