def supports_firefox(file_obj):
    apps = file_obj.version.apps.all()
    if not file_obj.binary_components and not file_obj.strict_compatibility:
        # Version is "default to compatible".
        return apps.filter(
            max__application__in=SIGN_FOR_APPS,
            max__version_int__gte=version_int(settings.MIN_D2C_VERSION))
    else:
        # Version isn't "default to compatible".
        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.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/lib/crypto/packaged.py/supports_firefox