def is_pypy():
 import platform
 return (platform.python_implementation() == 'PyPy')

def is_pypy ( ) : import platform return ( platform . python_implementation ( ) == 'PyPy' )
test whether we are running pypy .