Use is_object instead.