#176 Added is_null helper function