code: def is_managed():
      
      for item in sys.argv:
          if re.search(r'manage.py|django-admin|django', item) is not None:
              return True
      return False
docs: Check if a Django project is being managed with ``manage.py`` or
      ``django-admin`` scripts
  
      :return: Check result
      :rtype: bool