code: public static <T> T assertValid(T context, Validator<T> validator) {
  	
  		assertNotNull(context);
  		
  		if(validator != null) {
  				
  			validator.validate(context);
  		}
  		
  		return context;
  	}
docs: <p>Asserts that the given context is valid using the supplied {@link Validator} along with a few
  other trivial validations such as a {@code null} check.</p>
  
  @param context
  the context to be validated using the given {@link Validator}
  <br><br>
  @param validator
  the {@link Validator} to be used on the given context
  <br><br>
  @return the given context which was asserted to be valid
  <br><br>
  @since 1.3.0