Input.hasField
Input.hasField($method, $fieldName) -> boolean
Description
Check whether the input field exists in the current request.
$method can be get or post.
// URL: /profile?userId=123
Input.hasField('get', 'userID')
//= true
Input.hasField('get', 'filterBy')
//= false