private boolean isVisible(Element child, boolean protectedScope) {
		if (isPublic(child)) {
			return true;
		}
		if (protectedScope) {
			return isProtected(child);
		}
		return false;
	}
Checks if this element is visible

@param child the element to check
@param protectedScope true to include protected scope
@return true if this element is visible
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubType.java