parameters: ()
return_statement: return False
docstring: Return True if we're running inside a virtualenv, False otherwise.
docstring_summary: Return True if we're running inside a virtualenv, False otherwise.
docstring_tokens: Return True if we re running inside a virtualenv False otherwise .
function: def running_under_virtualenv():
      """
      Return True if we're running inside a virtualenv, False otherwise.
  
      """
      if hasattr(sys, 'real_prefix'):
          return True
      elif sys.prefix != getattr(sys, "base_prefix", sys.prefix):
          return True
  
      return False
function_tokens: def running_under_virtualenv ( ) : if hasattr ( sys , 'real_prefix' ) : return True elif sys . prefix != getattr ( sys , "base_prefix" , sys . prefix ) : return True return False