boolean (ChangeInfo changeInfo) { if (changeInfo instanceof PyChangeInfo pyChangeInfo && changeInfo.getLanguage().is(PythonLanguage.getInstance())) { processFunctionDeclaration(pyChangeInfo, pyChangeInfo.getMethod()); return true; } return false; }