<BUG>return sdk != null && VFSTestFrameworkListener.getInstance().isPyTestInstalled(sdk.getHomePath());}</BUG><CONTEXT>TestRunnerService.getInstance(script.getProject()).getProjectConfiguration().equals(PythonTestConfigurationsModel.PY_TEST_NAME);}private static boolean isPyTestInstalled(Module module) {final Sdk sdk = PythonSdkType.findPythonSdk(module);<extra_id_0>public static boolean isPyTestScript(PsiFile script) {if (!(script instanceof PyFile)) {return false;</CONTEXT>
return sdk != null && VFSTestFrameworkListener.getInstance().isPyTestInstalled(sdk);