def _get_base_value_unwrapped_as_list(self, entity):
wrapped = self._get_base_value(entity)<EOL>if self._repeated:<EOL><INDENT>if wrapped is None:<EOL><INDENT>return []<EOL><DEDENT>assert isinstance(wrapped, list)<EOL>return [w.b_val for w in wrapped]<EOL><DEDENT>else:<EOL><INDENT>if wrapped is None:<EOL><INDENT>return [None]<EOL><DEDENT>assert isinstance(wrapped, _BaseValue)<EOL>return [wrapped.b_val]<EOL><DEDENT>
Like _get_base_value(), but always returns a list.

        Returns:
          A new list of unwrapped base values.  For an unrepeated
          property, if the value is missing or None, returns [None]; for a
          repeated property, if the original value is missing or None or
          empty, returns [].