def supports_firefox(file_obj):
 apps = file_obj.version.apps.all()
 if ((not file_obj.binary_components) and (not file_obj.strict_compatibility)):
  return apps.filter(max__application__in=SIGN_FOR_APPS, max__version_int__gte=version_int(settings.MIN_D2C_VERSION))
 else:
  return apps.filter(max__application__in=[amo.FIREFOX.id, amo.ANDROID.id], max__version_int__gte=version_int(settings.MIN_NOT_D2C_VERSION))

def supports_firefox ( file_obj ) : apps = file_obj . version . apps . all ( ) if ( ( not file_obj . binary_components ) and ( not file_obj . strict_compatibility ) ) : return apps . filter ( max__application__in = SIGN_FOR_APPS , max__version_int__gte = version_int ( settings . MIN_D2C_VERSION ) ) else : return apps . filter ( max__application__in = [ amo . FIREFOX . id , amo . ANDROID . id ] , max__version_int__gte = version_int ( settings . MIN_NOT_D2C_VERSION ) )
return true if the file support a high enough version of firefox .