def is_pyflakes_available():
 try:
  import pyflakes.api
  import pyflakes.reporter
  return True
 except ImportError:
  return False

def is_pyflakes_available ( ) : try : import pyflakes . api import pyflakes . reporter return True except ImportError : return False
checks if pyflakes is availalbe .