HTTP\Helpers\Validator: Check type of value