boolean (PyFunction pyFunction, PyFunction pyFunction1) { final PyParameter[] firstParams = pyFunction.getParameterList().getParameters(); final PyParameter[] secondParams = pyFunction1.getParameterList().getParameters(); final String firstName = pyFunction.getName(); final String secondName = pyFunction1.getName(); return Comparing.strEqual(firstName, secondName) && firstParams.length == secondParams.length; }