original_string: public function requestOptionsHas(array $requestOptions, $key)
      {
          return isset($requestOptions[$key]) &&
              is_array($requestOptions[$key]) &&
              count($requestOptions[$key]) > 0;
      }
code: public function requestOptionsHas(array $requestOptions, $key)
      {
          return isset($requestOptions[$key]) &&
              is_array($requestOptions[$key]) &&
              count($requestOptions[$key]) > 0;
      }
code_tokens: public function requestOptionsHas ( array $ requestOptions , $ key ) { return isset ( $ requestOptions [ $ key ] ) && is_array ( $ requestOptions [ $ key ] ) && count ( $ requestOptions [ $ key ] ) > 0 ; }
docstring: Check if request options has the given key option.
  
  @param array  $requestOptions
  @param string $key
  
  @return bool
docstring_tokens: Check if request options has the given key option .