Returns either scapy is running under PyPy or not
()
| 792 | |
| 793 | |
| 794 | def isPyPy(): |
| 795 | # type: () -> bool |
| 796 | """Returns either scapy is running under PyPy or not""" |
| 797 | try: |
| 798 | import __pypy__ # noqa: F401 |
| 799 | return True |
| 800 | except ImportError: |
| 801 | return False |
| 802 | |
| 803 | |
| 804 | def _prompt_changer(attr, val, old): |