code: public static boolean isAnEntryPoint(Method method, boolean scanEntryPointAnnotation) {
  		return !scanEntryPointAnnotation
  			|| scanEntryPointAnnotation && method.isAnnotationPresent(ExternalEntryPoint.class)
  			|| scanEntryPointAnnotation && method.getDeclaringClass().isAnnotationPresent(ExternalEntryPoint.class);
  	}
docs: Returns whether the supplied method is an Entry Point or not.
  It might be annotated by @ExternalEntryPoint
  
  @param method Method to be scanned
  @param scanEntryPointAnnotation Does it has annotation
  @return boolean