'Ensure we\'re inside a virtualenv.'

def check_venv(self):

    if self.zappa:
        venv = self.zappa.get_current_venv()
    else:
        venv = Zappa.get_current_venv()
    if (not venv):
        raise ClickException((((((click.style(u'Zappa', bold=True) + u'    requires    an    ') + click.style(u'active    virtual    environment', bold=True, fg=u'red')) + u'!\n') + u'Learn    more    about    virtual    environments    here:    ') + click.style(u'http://docs.python-guide.org/en/latest/dev/virtualenvs/', bold=False, fg=u'cyan')))
