checks for inputs of the target function
CMA-ES support