public boolean checkMethodInvocation( Method method ) {

	if( method == null )
	    return false;    // result not specified

	// Method must be public
	if( ! Modifier.isPublic(method.getModifiers()) )
	    return false;

	return 
	    method.getName().equals("doAnything") || 
	    method.getName().equals("doSomething") ||
	    method.getName().equals("printJSONArray") ||
	    method.getName().equals("printJSONObject");
    }