code: protected boolean isRequired(Parameter parameter) {
          return parameter.isAnnotationPresent(Body.class)
                  || parameter.isAnnotationPresent(Required.class)
                  || parameter.isAnnotationPresent(NotNull.class);
      }
docs: Determines if a parameter is Required or not.
  
  @param parameter
  @return true if the parameter is required