code: public static boolean isSecure(final Component component)
  	{
  		if (AnnotationExtensions.isAnnotationPresentInSuperClassesOrInterfaces(component.getClass(),
  			RequireHttps.class))
  		{
  			return true;
  		}
  		return false;
  	}
docs: Checks if the given component has as parent a page that is annotated with
  {@link RequireHttps}.
  
  @param component
  the component to check
  @return true if the component is inside a page that require https, otherwise false