boolean (PyFunction pyFunction) { if (pyFunction.getDocStringExpression() == null) return false; PyStringLiteralExpression docString = pyFunction.getDocStringExpression(); if (docString != null && !hasExample(docString.getStringValue())) return false; return true; }