boolean isProperty() {
		if (isStatic(el)) {
			return false;
		}

		List<? extends VariableElement> params = el.getParameters();
		if (params.size() > 1) {
			return false;
		}

		String name = getName();
		TypeKind resultKind = getReturnType().getKind();
		try {
			if (name.startsWith("get")) {
				return Character.isUpperCase(name.charAt(3)) && resultKind != TypeKind.VOID;
			}
			if (name.startsWith("is")) {
				return Character.isUpperCase(name.charAt(2)) && resultKind != TypeKind.VOID;
			}
			if (name.startsWith("set")) {
				if (params.size() != 1) {
					return false;
				}
				return Character.isUpperCase(name.charAt(3)) && resultKind == TypeKind.VOID;
			}
		}
		catch (IndexOutOfBoundsException e) {
			// name check failed
		}
		return false;
	}
Checks if this method is a candidate for a Python property

@return true if this method may be a Python property
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubMethod.java