def _validate_status(self):
        if self._details is None:
            error_detail = ('The attribute requested is only available after ' +
                    'an explicit call to get_details() is made.')
            raise GooglePlacesAttributeError(error_detail)
dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py/Place._validate_status/original