This function checks if the index of the inputArray exists and if the input is valid. The function can be called as `checkInput($fieldName,$_POST,['input',$fieldName],$options)` and equals `check($fieldName,$_POST['input'][$fieldName],$options)`, but checks first, if the index exists.
Signature
public function checkInput(string
$field,
array&
$inputArray,
array
$inputKeys,
[array
$options = null] )