Input.hasField
Input.hasField($httpMethod, $fieldName)
Description
Check whether the input fieldName exists in the current request, for the given
$httpMethod
('get' or 'post').
// url: /profile?userId=123 Input.hasField('get', 'userId'); // true Input.hasField('get', 'none'); // false